1 2001-06-05 Andreas Jaeger <aj@suse.de>
3 * manual/stdio.texi (Portable Positioning): Fix description of
6 2001-06-06 Ulrich Drepper <drepper@redhat.com>
8 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
10 * po/sk.po: Update from translation team.
12 2001-06-05 Andreas Jaeger <aj@suse.de>
14 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
15 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
18 2001-06-05 Ulrich Drepper <drepper@redhat.com>
20 * sysdeps/generic/wordexp.c: Add missing free.
21 Patch by yeti@physics.muni.cz.
23 2001-06-02 Tom Browder <tbrowder@home.com>
25 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
26 within bounds when lag > 0.
28 2001-06-05 Ulrich Drepper <drepper@redhat.com>
32 2001-06-05 Andreas Jaeger <aj@suse.de>
34 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
36 2001-06-04 H.J. Lu <hjl@gnu.org>
38 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
39 * sysdeps/arm/elf/start.S: Likewise.
40 * sysdeps/hppa/elf/start.S: Likewise.
41 * sysdeps/i386/elf/start.S: Likewise.
42 * sysdeps/m68k/elf/start.S: Likewise.
43 * sysdeps/mips/elf/start.S: Likewise.
44 * sysdeps/ia64/elf/start.S: Likewise.
45 * sysdeps/sh/elf/start.S: Likewise.
46 * sysdeps/s390/s390-32/elf/start.S: Likewise.
47 * sysdeps/s390/s390-64/elf/start.S: Likewise.
48 * sysdeps/cris/elf/start.S: Likewise.
50 2001-06-04 Bruce Mitchener <bruce@cubik.org>
52 * manual/resource.texi: Correct setpriority/nice documentation.
54 * sysdeps/unix/nice.c: Correct nice() implementation.
56 2001-06-04 Andreas Jaeger <aj@suse.de>
58 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
59 Stephen L Moshier <moshier@mediaone.net>.
61 2001-06-03 Roland McGrath <roland@frob.com>
63 * Makefile (postclean): Remove obsolete sysd-Makefile.
65 2001-06-01 Roland McGrath <roland@frob.com>
67 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
68 and use compat_symbol/versioned_symbol instead of plain
69 symbol_version/default_symbol_version.
70 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
71 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
72 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
73 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
74 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
75 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
76 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
77 * sysdeps/arm/fpu/fegetenv.c: Likewise.
78 * sysdeps/arm/fpu/fesetenv.c: Likewise.
79 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
80 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
81 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
82 * sysdeps/i386/fpu/fegetenv.c: Likewise.
83 * sysdeps/i386/fpu/fesetenv.c: Likewise.
84 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
85 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
86 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
87 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
88 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
89 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
90 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
91 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
92 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
93 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
94 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
95 * sysdeps/powerpc/fclrexcpt.c: Likewise.
96 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
97 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
98 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
99 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
100 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
101 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
103 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
104 * iconvdata/iso-2022-cn-ext.c: Likewise.
106 2001-06-01 Andreas Jaeger <aj@suse.de>
108 * Versions.def: Add version 2.2.4.
110 2001-06-01 Ulrich Drepper <drepper@redhat.com>
112 * socket/Makefile (routines): Add sockatmark.
113 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
114 * socket/sys/socket.h: Add prototype for sockatmark.
115 * sysdeps/generic/sockatmark.c: New file.
116 * sysdeps/unix/sockatmark.c: New file.
118 2001-06-01 Andreas Jaeger <aj@suse.de>
120 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
122 (cfsetospeed): Likewise.
123 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
125 2001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
127 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
129 2001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
131 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
132 needs to have the same aligment as the kernel structure.
134 2001-05-29 Jakub Jelinek <jakub@redhat.com>
136 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
137 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
138 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
139 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
140 against multiple definition.
142 2001-05-30 Ulrich Drepper <drepper@redhat.com>
144 * po/da.po: Update from translation team.
146 2001-05-29 Andreas Jaeger <aj@suse.de>
148 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
149 Stephen L Moshier <moshier@mediaone.net>.
151 * math/libm-test.inc (sinh_test): Add new test case.
153 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
155 Patch by Stephen L Moshier <moshier@mediaone.net>.
157 2001-05-23 Andreas Jaeger <aj@suse.de>
159 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
160 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
162 2001-05-27 Andreas Jaeger <aj@suse.de>
164 * manual/stdio.texi (String Streams): Fix fmemopen description.
165 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
167 2001-05-26 H.J. Lu <hjl@gnu.org>
169 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
170 to s_sigsuspend. Add s_mmap2.
172 * sysdeps/mips/atomicity.h: New file.
174 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
176 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
179 2001-05-25 Bruce Mitchener <bruce@cubik.org>
181 * manual/ctype.texi: Minor fix.
182 * manual/install.texi: Likewise.
183 * manual/startup.texi: Likewise.
184 * manual/examples/dir.c: Use perror() rather than puts().
186 2001-05-25 David Mosberger <davidm@hpl.hp.com>
188 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
189 #endif directive inside a comment to avoid compiler warnings.
191 2001-05-25 Philipp Thomas <pthomas@suse.de>
193 * nis/nis_print.c (nis_nstype2str): Don't mark names of
194 naming services for translation, only UNKNOWN needs it.
195 Add comment to prevent it for the future.
197 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
199 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
200 3.1 and non-GCC C99 compilers.
202 2001-05-22 David Mosberger <davidm@hpl.hp.com>
204 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
206 * sysdeps/ia64/memcpy.S: Likewise.
208 * sysdeps/ia64/bcopy.S: New file.
210 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
212 2001-05-26 Ulrich Drepper <drepper@redhat.com>
214 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
216 2001-05-24 Ulrich Drepper <drepper@redhat.com>
218 * iconvdata/Makefile: Add rules for CP10007.
219 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
220 * iconvdata/cp10007.c: New file.
221 * iconvdata/tst-tables.sh: Add CP10007.
223 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
225 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
226 (_dl_runtime_profile): Likewise..
228 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
230 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
231 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
233 2001-05-19 H.J. Lu <hjl@gnu.org>
235 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
236 errstring of the failed DSO to _dl_signal_error ().
238 2001-05-23 Ulrich Drepper <drepper@redhat.com>
240 * iconvdata/gconv-modules: Add more aliases to enable use in
243 2001-05-23 Andreas Jaeger <aj@suse.de>
245 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
246 Remove, it's not used anywhere anymore.
247 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
248 (CFLAGS-initfini.s): Likewise.
249 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
250 (CFLAGS-initfini.s): Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
253 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
256 2001-05-21 Bruno Haible <haible@clisp.cons.org>
258 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
259 use 0 instead, and rely on the converter to do the flush.
260 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
262 (utf8_test_2, utf8_test_3): New function.
263 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
265 2001-05-22 Jakub Jelinek <jakub@redhat.com>
267 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
269 * elf/Makefile (distribute): Add reldep4mod[1234].c.
270 (tests): Add reldep4.
271 (modules-names): Add reldep4mod[1234].
272 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
273 * elf/reldep4.c: New file.
274 * elf/reldep4mod1.c: Likewise.
275 * elf/reldep4mod2.c: Likewise.
276 * elf/reldep4mod3.c: Likewise.
277 * elf/reldep4mod4.c: Likewise.
279 2001-05-18 Jakub Jelinek <jakub@redhat.com>
281 * elf/dl-lookup.c (PROTECTED): Remove defines.
282 (add_dependency): Mark it with internal_function.
283 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
284 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
285 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
286 it if we don't want do_lookup* inlined.
288 2001-05-18 Jakub Jelinek <jakub@redhat.com>
290 * include/link.h (struct r_scope_elem): Remove r_duplist and
292 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
293 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
295 (_dl_lookup_versioned_symbol_skip): Likewise.
296 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
297 (_dl_map_object_deps): Don't compute duplicate list.
299 * elf/dl-symbol.c: Removed.
300 * elf/Makefile (routines): Remove dl-symbol.
302 2001-05-22 Ulrich Drepper <drepper@redhat.com>
304 * po/el.po: Update from translation team.
305 * po/sv.po: Likewise.
307 2001-05-20 Bruno Haible <haible@clisp.cons.org>
309 * iconvdata/cp1255.c: Completely rewritten.
310 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
311 * iconvdata/testdata/WINDOWS-1255: New file.
312 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
313 * iconvdata/TESTS: Add WINDOWS-1255 test.
314 * iconvdata/CP1255.irreversible: New file.
316 2001-05-20 Bruno Haible <haible@clisp.cons.org>
318 * iconvdata/cp1258.c: Completely rewritten.
319 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
320 * iconvdata/testdata/WINDOWS-1258: New file.
321 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
322 * iconvdata/TESTS: Add WINDOWS-1258 test.
323 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
324 the main call, and flush it afterwards.
325 (utf8_decode): Return a string, possibly containing several Unicode
327 (main): Update all utf8_decode calls.
328 * iconvdata/CP1258.irreversible: New file.
330 2001-05-20 Bruno Haible <haible@clisp.cons.org>
332 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
333 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
334 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
335 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
336 the next step. In the second case, clear the state without calling
338 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
339 data->__outbuf, and outend instead of data->__outbufend.
340 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
341 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
342 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
343 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
344 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
345 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
346 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
347 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
348 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
350 2001-05-21 Jakub Jelinek <jakub@redhat.com>
352 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
353 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
354 If match == _dl_loaded, caller can still come from the main program.
355 (_dl_vsym): Likewise.
356 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
357 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
358 * elf/restest2.c: New test.
359 * elf/Makefile (tests): Add restest2.
360 (restest2, LDFLAGS-restest2): Add rules.
362 2001-05-22 Ulrich Drepper <drepper@redhat.com>
364 * intl/Makefile: Add a few more dependencies to avoid races in the
367 2001-05-22 Andreas Jaeger <aj@suse.de>
369 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
370 Stephen L Moshier <moshier@mediaone.net>.
372 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
374 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
375 return addresses instead of the stack pointers.
376 * sysdeps/s390/s390-64/backtrace.c: Likewise.
378 2001-05-21 Jakub Jelinek <jakub@redhat.com>
380 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
381 bits/sigcontext.h instead of bits/sigstack.h.
382 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
383 multiple-inclusion guards.
385 2001-05-21 Andreas Jaeger <aj@suse.de>
387 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
388 Patch by Philipp Thomas <pthomas@suse.de>.
390 2001-05-17 Bruce Mitchener <bruce@cubik.org>
392 * manual/arpg.texi: Spelling, misc fixes.
393 * manual/arith.texi: Likewise.
394 * manual/crypt.texi: Likewise.
395 * manual/debug.texi: Likewise.
396 * manual/getopt.texi: Likewise.
397 * manual/intro.texi: Likewise.
398 * manual/memory.texi: Likewise.
399 * manual/nss.texi: Likewise.
400 * manual/pattern.texi: Likewise.
401 * manual/process.texi: Likewise.
402 * manual/resource.texi: Likewise.
403 * manual/search.texi: Likewise.
404 * manual/setjmp.texi: Likewise.
405 * manual/signal.texi: Likewise.
406 * manual/socket.texi: Likewise.
407 * manual/stdio.texi: Likewise.
408 * manual/string.texi: Likewise.
409 * manual/sysinfo.texi: Likewise.
410 * manual/terminal.texi: Likewise.
411 * manual/llio.texi: Document madvise().
413 2001-05-20 Roland McGrath <roland@frob.com>
415 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
416 found within $(add-ons) directories too.
417 [linuxthreads add-on]: Move variable settings for linuxthreads
418 to new file linuxthreads/Makeconfig.
420 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
423 Define for linux >= 2.4.5 on powerpc.
424 (__ASSUME_MMAP2_SYSCALL): Likewise.
426 2001-05-19 Roland McGrath <roland@frob.com>
428 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
429 result port when failing with ELOOP. Do the ELOOP check when
430 following an absolute symlink target as well as relative.
431 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
433 2001-05-18 Andreas Jaeger <aj@suse.de>
435 * po/fr.po: Free software is "logiciel libre".
436 Patch by Martin Michlmayr <tbm@cyrius.com>.
438 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
439 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
441 2001-05-17 David Mosberger <davidm@hpl.hp.com>
443 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
445 2001-05-17 Ulrich Drepper <drepper@redhat.com>
447 * elf/dl-profile.c (_dl_mcount): Check whether state is
448 GMON_PROF_ON before doing anything.
450 2001-05-17 H.J. Lu <hjl@gnu.org>
452 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
454 2001-05-17 Ulrich Drepper <drepper@redhat.com>
456 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
457 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
458 Reported by Mark Burton <markb@ordern.com>.
460 2001-05-17 Jakub Jelinek <jakub@redhat.com>
462 * elf/ldconfig.c (add_dir): Only warn about stat failure if
464 (search_dir): Likewise.
466 2001-05-17 Ulrich Drepper <drepper@redhat.com>
468 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
469 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
471 2001-05-14 Bruno Haible <haible@clisp.cons.org>
473 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
474 without previous announcement, reject it regularly, don't abort.
476 2001-05-16 Ulrich Drepper <drepper@redhat.com>
478 * math/tgmath.h: Fix handling of int parameters to binary and
479 ternary functions. Reported by mitr@volny.cz.
481 * math/test-tgmath.c: Add tests for calls with integer parameters.
483 2001-05-15 Jakub Jelinek <jakub@redhat.com>
485 * sunrpc/rpc_thread.c (rpc_default): Remove.
486 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
488 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
489 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
490 * sunrpc/auth_none.c (authnone_private): Fix a typo.
492 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
494 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
496 2001-05-16 Bruce Mitchener <bruce@cubik.org>
498 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
500 2001-05-15 Andreas Jaeger <aj@suse.de>
502 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
503 Stephen L Moshier <moshier@mediaone.net>.
505 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
507 * math/libm-test.inc: Add comment with ToDo.
509 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
510 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
512 * sysdeps/i386/fpu/e_expl.S: Removed.
514 2001-05-14 Roland McGrath <roland@frob.com>
516 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
517 static pattern rule also that also covers
518 $(objpx)g$(static-start-installed-name).
519 [$(start-installed-name) != $(static-start-installed-name)]
520 (extra-objs, omit-deps, install-lib): Add
521 $(static-start-installed-name) and g$(static-start-installed-name).
522 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
523 just setting static-start-installed-name is now sufficient.
524 (extra-objs): Add static-start.o here.
525 (CFLAGS-initfini.s): Remove obsolete variable.
526 * sysdeps/mach/hurd/i386/Makeconfig: New file.
527 Define static-start-installed-name here.
529 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
530 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
532 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
533 associated hair. Instead, just use $(wildcard ...) in the include.
535 * configure.in (critic_missing, aux_missing): Collect in these vars
536 the names of the missing programs, and include them in the error msgs.
537 * configure: Regenerated.
539 2001-05-14 Andreas Jaeger <aj@suse.de>
541 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
543 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
545 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
547 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
549 2001-05-11 Jakub Jelinek <jakub@redhat.com>
551 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
552 as well if swapping strings.
553 Make sure stop is not past end of second string.
554 * posix/bug-regex4.c: New test.
555 * posix/Makefile (tests): Add bug-regex4.
557 2001-05-10 Andreas Jaeger <aj@suse.de>
559 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
562 2001-05-12 Andreas Jaeger <aj@suse.de>
564 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
566 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
569 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
570 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
572 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
574 * math/math_private.h: Add prototypes for internal functions of
575 the IBM Accurate Mathematical Library.
577 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
581 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
585 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
590 * sysdeps/generic/e_rem_pio2l.c: Likewise.
591 (__ieee754_rem_pio2l): Fix prototype.
593 * math/math_private.h (__copysign): Add internal prototype.
595 2001-05-11 Andreas Jaeger <aj@suse.de>
597 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
598 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
600 2001-05-11 Andreas Jaeger <aj@suse.de>
602 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
605 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
606 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
608 2001-05-11 Roland McGrath <roland@frob.com>
610 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
611 $(build-module) here, since we don't need the full magilla.
612 Just use $(build-module-helper) and append our special options.
614 2001-05-09 Andreas Schwab <schwab@suse.de>
616 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
619 2001-05-07 H.J. Lu <hjl@gnu.org>
621 * elf/ldconfig.c (dir_entry): Add ino and dev.
622 (add_single_dir): Compare ino and dev to check if 2 directory
623 paths are the same or not. Free entry->path for duplicates.
624 (add_dir): Initialize ino and dev for entry.
625 (search_dir): Handle symlink to directory.
627 2001-05-07 Andreas Jaeger <aj@suse.de>
629 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
631 * math/libm-test.inc (exp_test): Add some more tests.
632 (pow_test): Run double only test also for long double.
634 * math/test-ldouble.c (TEST_LDOUBLE): Define.
635 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
637 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
641 * scripts/config.guess: Imported from gnu.org.
642 * scripts/config.sub: Likewise.
644 2001-05-05 Jakub Jelinek <jakub@redhat.com>
646 * include/features.h (__USE_EXTERN_INLINES): Don't define if
647 __NO_INLINE__ is defined.
648 * ctype/ctype.h (tolower, toupper): Change the guard condition to
649 __USE_EXTERN_INLINES check only.
650 * stdlib/stdlib.h (strtod, ...): Likewise.
651 * wcsmbs/wchar.h (mbrlen): Likewise.
652 * string/string.h: Only include bits/string.h and bits/string2.h
653 if __NO_INLINE__ is not defined.
655 2001-05-07 Andreas Jaeger <aj@suse.de>
657 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
660 2001-05-04 H.J. Lu <hjl@gnu.org>
662 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
665 2001-05-06 Andreas Jaeger <aj@suse.de>
667 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
668 * sysdeps/i386/fpu/e_fmodl.S: Removed.
669 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
670 * sysdeps/i386/fpu/e_atan2l.S: Removed.
671 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
672 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
673 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
674 * sysdeps/i386/fpu/e_acosl.S: Removed.
675 * sysdeps/i386/fpu/s_atanl.S: Removed.
676 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
678 2001-05-05 Mark Kettenis <kettenis@gnu.org>
680 * sysdeps/mach/hurd/bits/environments.h: Add comment from
681 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
683 2001-04-30 Jakub Jelinek <jakub@redhat.com>
685 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
686 that _CS_LFS_CFLAGS can fall through to the empty returned string
687 case. Add FALLTHROUGH comment.
689 2001-04-29 Ralf Baechle <ralf@gnu.org>
691 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
692 definitions match the kernel definitions.
693 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
694 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
696 2001-04-29 Ben Collins <bcollins@debian.org>
698 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
700 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
701 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
702 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
703 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
704 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
705 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
706 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
707 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
708 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
709 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
710 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
711 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
712 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
713 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
714 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
715 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
716 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
717 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
718 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
719 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
720 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
721 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
722 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
724 2001-04-29 Andreas Schwab <schwab@suse.de>
726 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
729 2001-04-29 Andreas Jaeger <aj@suse.de>
731 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
732 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
734 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
736 (AF_WANPIPE): Likewise.
739 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
740 for Linux generic version.
741 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
743 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
744 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
746 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
748 2001-04-27 Ulrich Drepper <drepper@redhat.com>
750 * nis/nss-nis.h: Correct test for invalid error number.
751 * nis/nss-nisplus.h: Likewise.
753 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
755 2001-04-26 Ulrich Drepper <drepper@redhat.com>
757 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
759 * string/strcoll.c: Fix two memory allocation problems.
760 * string/Makefile (tests): Add bug-strcoll1.
761 * string/bug-strcoll1.c: New file.
763 * malloc/mcheck.c (mcheck): Call malloc once before setting the
764 hooks to allow the internal check hooks to be set up if necessary.
766 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
767 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
769 * nis/nss-nis.c: New file.
770 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
771 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
773 * nis/nss-nisplus.c: New file.
774 * nis/Makefile (libnss_compat-routines): Add nss-nis.
775 (libnss_nis-routines): Likewise.
776 (libnss_nisplus-routines): Add nss-nisplus.
778 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
779 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
780 * nis/nss_nisplus/nisplus-grp.c: Likewise.
781 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
782 * nis/nss_nisplus/nisplus-network.c: Likewise.
783 * nis/nss_nisplus/nisplus-proto.c: Likewise.
784 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
785 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
786 * nis/nss_nisplus/nisplus-service.c: Likewise.
787 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
788 * nis/nss_nis/nis-alias.c: Likewise.
789 * nis/nss_nis/nis-ethers.c: Likewise.
790 * nis/nss_nis/nis-grp.c: Likewise.
791 * nis/nss_nis/nis-network.c: Likewise.
792 * nis/nss_nis/nis-proto.c: Likewise.
793 * nis/nss_nis/nis-pwd.c: Likewise.
794 * nis/nss_nis/nis-spwd.c: Likewise.
795 * nis/nss_compat/compat-grp.c: Likewise.
796 * nis/nss_compat/compat-initgroups.c: Likewise.
797 * nis/nss_compat/compat-pwd.c: Likewise.
798 * nis/nss_compat/compat-spwd.c: Likewise.
800 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
801 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
803 2001-04-26 Andreas Jaeger <aj@suse.de>
805 * po/zh_TW.po: Update.
806 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
808 2001-04-25 Ulrich Drepper <drepper@redhat.com>
810 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
811 compiler command line.
812 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
813 command line for malloc.c.
815 2001-04-25 Jakub Jelinek <jakub@redhat.com>
817 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
818 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
819 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
820 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
822 struct msghdr for __WORDSIZE == 32.
823 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
824 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
825 for __WORDSIZE == 32.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
827 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
829 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
830 Rename from longjmp, make longjmp weak alias to it.
832 2001-04-24 David S. Miller <davem@redhat.com>
834 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
836 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
838 * sysdeps/hppa/stackinfo.h: New file.
839 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
840 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
841 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
842 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
843 of PA kernel features.
845 2001-04-25 Ulrich Drepper <drepper@redhat.com>
847 * locale/programs/localedef.c (main): Always set a file name for
849 * locale/programs/locfile.c (locfile_read): filename is allowed to
852 2001-04-12 Paul Bame <paul_bame@hp.com>
854 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
857 2001-04-24 Ulrich Drepper <drepper@redhat.com>
859 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
860 _XBS5_LPBIG_OFFBIG): Define to -1.
863 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
864 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
865 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
866 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
869 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
871 2001-03-21 Alan Modra <alan@one.net.au>
873 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
874 value from application so that constructors in non-PIC libs work.
876 2000-12-13 Jes Sorensen <jes@linuxcare.com>
878 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
879 function pointer, hence load the jump address and gp from the
880 function pointer before jumping.
882 2001-04-24 Andreas Jaeger <aj@suse.de>
884 * sysdeps/generic/send.c (__send): Return ssize_t.
885 * sysdeps/mach/hurd/send.c (__send): Likewise.
886 * sysdeps/mach/hurd/recv.c (recv): Likewise.
887 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
888 * sysdeps/generic/sendto.c (sendto): Likewise.
889 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
890 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
891 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
892 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
894 * socket/sys/socket.h: send* and recv* return ssize_t.
896 * include/sys/socket.h: send returns ssize_t.
898 * sysdeps/i386/fpu_control.h: Fix comments.
900 2001-04-24 Ulrich Drepper <drepper@redhat.com>
902 * sysdeps/ia64/Dist: Add hp-timing.c.
903 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
904 * posix/Makefile (distribute): Add tst-getconf.sh.
905 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
907 2001-04-23 Ulrich Drepper <drepper@redhat.com>
909 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
910 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
911 * sysdeps/ia64/hp-timing.c: New file.
912 * sysdeps/ia64/hp-timing.h: New file.
913 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
914 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
916 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
917 using #ifdef whether the clock is available.
918 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
920 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
921 it into data section.
923 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
924 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
925 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
926 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
927 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
928 * sysdeps/generic/cpuclock-init.h: Removed.
929 * sysdeps/unix/i386/i686/Implies: Removed.
930 * sysdeps/unix/i386/i686/tempname.c: Removed.
931 * sysdeps/i386/i686/Versions: New file.
932 * sysdeps/unix/i386/i586/Versions: Removed.
934 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
935 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
936 * sysdeps/unix/clock_gettime.c: Likewise.
937 * sysdeps/unix/clock_nanosleep.c: Likewise.
938 * sysdeps/unix/clock_settime.c: Likewise.
939 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
940 RANDOM_BITS use CPU clock.
942 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
943 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
944 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
945 * sysdeps/sparc/Versions: New file.
947 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
948 hp-timing.h definitions.
949 * sysdeps/generic/dl-sysdep.c: Likewise.
951 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
952 __get_clockfreq prototype.
954 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
955 Use hp_timing_t type.
956 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
958 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
960 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
961 whether named file is a regular file or a block device.
962 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
964 2001-04-23 Andreas Jaeger <aj@suse.de>
966 * nscd/nscd.h: Add noreturn attribute for start_threads.
968 2001-04-22 Ulrich Drepper <drepper@redhat.com>
970 * posix/getconf.c: Fix names of XBS5 LFS test variables.
971 Add missing configuration variables from XPG6.
972 * posix/tst-getconf.c: New file.
973 * posix/Makefile (generated): Add tst-getconf.out.
974 (tests): Add ($objpfx)tst-getconf.out.
975 Add rule to run tst-getconf.sh.
976 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
978 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
980 * sysdeps/posix/pathconf.c: Likewise.
981 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
984 2001-04-22 Philip Blundell <philb@gnu.org>
986 * sysdeps/arm/fpu/feenablxcpt.c: New file.
987 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
988 * sysdeps/arm/fpu/fegetexcpt.c: New file.
990 2001-04-22 Philip Blundell <philb@gnu.org>
992 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
993 Renamed from struct user_fp.
994 (struct user_regs): New.
995 (struct user): Use struct user_regs rather than struct pt_regs to
996 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
997 of struct user_fp and struct user_fp_struct.
998 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
1001 2001-04-22 Philip Blundell <philb@gnu.org>
1003 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
1004 sys/procfs.h, and tell the user to include that file instead.
1005 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
1006 surrounded with #if 0.
1007 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
1009 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
1010 elf_fpregset_t respectively.
1012 2001-04-22 Philip Blundell <philb@gnu.org>
1014 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
1015 address that faulted.
1017 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1019 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
1021 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
1022 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
1023 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
1024 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
1026 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
1027 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1029 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1031 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1033 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
1036 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1038 * posix/getopt.h: Treat __cplusplus like __STDC__.
1040 2001-04-20 John S. Marvin <jsm@fc.hp.com>
1042 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
1045 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
1047 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
1048 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
1050 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
1051 entry so the ptrace.c wrapper is used.
1053 2001-04-20 Alan Modra <amodra@one.net.au>
1055 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
1056 (DL_FUNCTION_ADDRESS): Define.
1057 (DL_DT_INIT_ADDRESS): Define.
1058 (DL_DT_FINI_ADDRESS): Define.
1059 * sysdeps/hppa/Versions: Add _dl_function_address.
1060 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
1061 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
1062 _dl_function_address.
1064 2001-04-21 Andreas Jaeger <aj@suse.de>
1066 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
1067 * resolv/gai_misc.c (handle_requests): Likewise.
1068 * malloc/obstack.c (print_and_abort): Likewise.
1069 * malloc/mcheck.c (mabort): Likewise.
1071 * sysdeps/unix/i386/i586/clock_settime.c: Include
1072 "libc-internal.h" for __get_clockfreq declaration.
1074 2001-04-21 Ulrich Drepper <drepper@redhat.com>
1076 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
1077 CPUCLOCK_INIT if defined.
1078 * sysdeps/generic/dl-sysdep.c: Likewise.
1079 * sysdeps/generic/cpuclock-init.h: New file.
1080 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
1081 * sysdeps/unix/i386/i586/Versions: New file.
1082 * sysdeps/unix/i386/i586/clock_settime.c: New file.
1083 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
1084 separately by calling __pthread_clock_gettime if this function is
1085 available. Subtract offset from tsc value before computing time value.
1087 2001-04-20 Ulrich Drepper <drepper@redhat.com>
1089 * iconv/iconv_prog.c (print_known_names): If printing goes not to
1090 a tty print in a more machine-friendly way.
1092 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
1093 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1095 2001-04-20 Andreas Jaeger <aj@suse.de>
1097 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
1099 2001-04-20 Andreas Schwab <schwab@suse.de>
1101 * sysdeps/m68k/fpu/libm-test-ulps: Update.
1103 2001-04-19 Alan Modra <amodra@one.net.au>
1105 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
1106 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
1107 (CFLAGS-.os): Remove.
1109 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
1111 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
1112 gregset): Correct for new kernel definitions.
1114 2001-04-19 Alan Modra <alan@linuxcare.com.au>
1116 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
1117 generate unwind info by hand.
1119 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1121 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
1123 * configure.in: Correct regular expression for msgfmt.
1124 Patch by Bruno Haible <haible@ilog.fr>.
1126 2001-04-19 Andreas Jaeger <aj@suse.de>
1128 * po/el.po: Add comment explaining what's broken.
1130 * po/Makefile (BROKEN_LINGUAS): New.
1131 (ALL_LINGUAS): Don't add broken languages.
1133 2001-04-19 Roland McGrath <roland@frob.com>
1135 * sysdeps/mach/hurd/mlock.c: New file.
1136 * sysdeps/mach/hurd/munlock.c: New file.
1137 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
1139 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
1140 * sysdeps/generic/mlock.c: New file.
1141 * sysdeps/generic/munlock.c: New file.
1142 * sysdeps/generic/mlockall.c: New file.
1143 * sysdeps/generic/munlockall.c: New file.
1144 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
1145 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
1146 mlockall, munlockall): Change caller field to - from EXTRA.
1147 Don't use __ names; not used (and not declared in include/sys/mman.h).
1149 * hurd/privports.c (__get_privileged_ports): Renamed with __.
1150 Use __ names for calls we make.
1151 (get_privileged_ports): Add alias.
1152 * hurd/hurd.h: Declare it with the __ name.
1153 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
1154 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1155 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1157 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
1158 nothing if it's zero.
1160 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
1162 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
1163 Change to return a signed result for compatibility with other
1164 architectures, and correctness.
1166 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1169 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1171 2001-04-19 Andreas Jaeger <aj@suse.de>
1173 * configure.in: Require gettext 0.10.36 or newer.
1175 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1177 * po/zh_TW.po: Remove extraneous backslashes.
1179 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1182 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1184 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1185 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1186 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1187 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1188 Copy first word of uc_sigmask into __uc_sigmask.
1189 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1190 Save uc_link around trap. Copy __uc_sigmask into first word of
1191 uc_sigmask, clear the rest. Make sure setcontext to the created
1192 context doesn't do this though.
1193 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1194 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1195 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1196 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1198 2001-04-19 Andreas Jaeger <aj@suse.de>
1200 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1202 * rt/Makefile (otherlibs): Added for static NSS.
1204 * glibcbug.in (BUGGLIBC): Send to new alias.
1206 2001-04-02 Andreas Schwab <schwab@suse.de>
1208 * Makerules (build-module): Make sure exit codes get checked
1209 properly and remove unnecessary slashes.
1211 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1213 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1214 Handle kernels which report only three digits after the decimal point.
1215 Reported by Van Okamura <van.okamura@oracle.com>.
1217 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1219 2001-04-17 David S. Miller <davem@redhat.com>
1221 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1222 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1224 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1226 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1227 desired exceptions are raised for exceptional values.
1228 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1229 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1230 clog_test, log_test, log1p_test, tan_test): Increase precision of
1231 expected values to satisfy ldbl-128.
1232 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1233 * sysdeps/arm/libm-test-ulps: Likewise.
1234 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1235 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1236 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1237 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1239 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1240 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1241 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1242 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1244 2001-04-17 Andreas Jaeger <aj@suse.de>
1246 * configure.in: Move test for critical programs up.
1248 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1250 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1251 Correct the values. (pSx, qSx): Replace by shorter approximation.
1252 Use f suffix on float constants.
1254 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1256 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1257 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1259 * string/string.h: Replace const in attribute list with __const__.
1261 2001-04-16 Roland McGrath <roland@frob.com>
1263 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1264 instead of the constant NGROUPS_MAX. That way, the limit can be
1265 raised in the kernel configuration without having to recompile libc.
1267 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1268 define NGROUPS_MAX; we don't use it here.
1270 2001-04-16 Andreas Jaeger <aj@suse.de>
1272 * math/libm-test.inc (atan2_test): Add more testcases.
1274 * iconv/gconv_db.c: Include gconv_charset.h for
1275 __gconv_lookup_alias prototype.
1277 2001-04-13 Ulrich Drepper <drepper@redhat.com>
1279 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1280 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1282 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1284 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1286 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1288 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1289 explicitly pad struct siginfo instead of relying on compiler padding.
1291 2001-04-12 Ulrich Drepper <drepper@redhat.com>
1293 * sysdeps/ia64/Dist: Add elf/entry.h.
1295 * iconvdata/Makefile (distribute): Add TESTS2.
1297 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1299 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1300 Calculate load address differently.
1302 2001-04-12 Bruno Haible <haible@clisp.cons.org>
1304 * iconvdata/TESTS2: New file.
1305 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1306 * iconvdata/testdata/alfabeta..UTF-8: New file.
1307 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1308 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1309 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1310 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1312 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1314 * iconvdata/utf-32.c: New file.
1315 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1316 * iconvdata/Makefile (modules): Add UTF-32.
1317 (distribute): Add utf-32.c.
1319 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1321 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1322 changing it in the state. After incrementing 'inptr', store it back.
1323 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1326 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1328 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1331 2001-04-11 David Mosberger <davidm@hpl.hp.com>
1333 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1334 * sysdeps/ia64/htons.S: Likewise.
1336 * sysdeps/ia64/memset.S: Add unwind directives.
1337 * sysdeps/ia64/strncpy.S: Likewise.
1338 * sysdeps/ia64/strcat.S: Likewise.
1340 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
1342 * sysdeps/ia64/strchr.S: Likewise.
1343 * sysdeps/ia64/memmove.S: Likewise.
1344 * sysdeps/ia64/memcpy.S: Likewise.
1345 * sysdeps/ia64/memcmp.S: Likewise.
1346 * sysdeps/ia64/memchr.S: Likewise.
1347 * sysdeps/ia64/strcmp.S: Likewise.
1348 * sysdeps/ia64/strlen.S: Likewise.
1349 * sysdeps/ia64/strcpy.S: Likewise.
1350 * sysdeps/ia64/strncmp.S: Likewise.
1352 2001-04-11 Jakub Jelinek <jakub@redhat.com>
1354 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1355 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1356 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1357 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1359 2001-04-11 Andreas Jaeger <aj@suse.de>
1361 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1363 2001-04-11 Andreas Schwab <schwab@suse.de>
1365 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1367 2001-04-11 Ulrich Drepper <drepper@redhat.com>
1369 * sysdeps/arm/stackinfo.h: New file.
1371 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
1373 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1374 rpcgen to generate thread safe code.
1376 2001-04-10 Andreas Jaeger <aj@suse.de>
1378 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1380 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1382 * elf/dl-minimal.c (__assert_fail): Change error string. It's
1383 most of the time no bug in ld.so.
1384 (__assert_perror_fail): Likewise.
1386 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
1388 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1389 from struct to unsigned int.
1391 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1393 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1394 AT_IGNOREPPC): New defines.
1395 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1397 Define for newer powerpc kernels.
1398 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1399 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1401 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
1403 * sysdeps/sh/stackinfo.h: New file.
1405 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1407 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1408 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1409 __ctype_tolower, and __ctype_toupper elements.
1411 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1412 Reported by Konstantin Osipov <rabid@spylog.ru>.
1414 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1417 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1420 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1421 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1422 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1424 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1426 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1427 message. Based on a patch by HJ Lu.
1429 2001-04-10 Andreas Schwab <schwab@suse.de>
1431 * math/libm-test.inc (csinh_test): Don't require the invalid
1432 exception for csinh (x + iNaN), but make it optional.
1434 2001-04-09 David Mosberger <davidm@hpl.hp.com>
1436 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1438 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1439 * sysdeps/ia64/elf/entry.h: New file.
1440 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1442 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
1444 * sysdeps/generic/dl-sysdep.c: Likewise.
1445 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1446 * sysdeps/ia64/elf/start.S: Save base address of register backing
1447 store in __libc_ia64_register_backing_store_base.
1449 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1452 value of getcontext.
1453 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1454 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1455 value of setcontext.
1456 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1457 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1458 call by changing the saved context.
1460 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1462 * sysdeps/alpha/stackinfo.h: New file.
1463 * sysdeps/ia64/stackinfo.h: New file.
1465 2001-04-10 Andreas Schwab <schwab@suse.de>
1467 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1469 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1471 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1473 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1474 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1476 * libio/Makefile (distribute): Add fd_to_filename.h.
1478 2001-04-05 David S. Miller <davem@redhat.com>
1480 Add hp-timing support for sparcv9/sparc64 targets.
1481 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1482 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1483 * sysdeps/sparc/sparc64/hp-timing.c: New file
1484 * sysdeps/sparc/sparc64/hp-timing.h: New file
1485 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1486 * sysdeps/sparc/sparc64/Makefile: Likewise.
1488 2001-04-09 Jakub Jelinek <jakub@redhat.com>
1490 * sysdeps/generic/fd_to_filename.h: New file.
1491 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1492 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1493 filename from the open file descriptor.
1494 * libio/freopen64.c (freopen64): Likewise.
1496 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1498 * misc/error.c (error): fflush stdout also if
1499 error_print_progname != NULL.
1500 (error_at_line): Likewise.
1502 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1504 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1505 (struct binding): Add codeset_cntr field.
1506 (_nl_load_domain): Add domainbinding argument.
1507 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1508 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1509 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1510 (_nl_make_l10nflist): Remove domainbinding argument.
1511 (_nl_find_msg): Move declaration to gettextP.h.
1512 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1513 to 0. Increment it when ->codeset is changed.
1514 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1515 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1516 if domainbinding->codeset_cntr has been incremented.
1517 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1518 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1519 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1520 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1521 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
1522 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1523 (_nl_load_domain): Add domainbinding argument. Call
1524 _nl_init_domain_conv.
1525 (_nl_unload_domain): Call _nl_free_domain_conv.
1526 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1527 (test-srcs): Add tst-codeset.
1528 (tests): Depend on tst-codeset.out.
1529 (tst-codeset.out): New rule.
1530 (CFLAGS-tst-codeset.c): New variable.
1531 * intl/tst-codeset.sh: New file.
1532 * intl/tstcodeset.po: New file.
1533 * intl/tst-codeset.c: New file.
1534 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1537 2001-04-07 Roland McGrath <roland@frob.com>
1539 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1541 2001-03-31 Roland McGrath <roland@frob.com>
1543 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1544 copying send rights into child. When we hit our name for our proc
1545 port, just copy NEWPROC directly instead of repeating proc_task2proc
1546 to install the child's port.
1548 2001-04-08 Roland McGrath <roland@frob.com>
1550 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1551 in second column, to provide default values for third column.
1552 * shlib-versions: Add comments about using DEFAULT in second column.
1553 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1554 (cris-.*-linux.*): Likewise.
1556 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1558 * Makefile (distribute): Add scripts/documented.sh.
1559 * scripts/documented.sh: New file.
1561 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1563 * sysdeps/unix/sysv/linux/cris/Dist: New file.
1564 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1565 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1566 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1567 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1568 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1569 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1570 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1571 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1572 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1573 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1574 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1575 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1576 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1577 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1578 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1579 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1580 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1581 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1582 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1583 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1584 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1585 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1586 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1587 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1588 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1589 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1590 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1591 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1592 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1593 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1594 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1595 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1596 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1597 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1598 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1599 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1600 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1601 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1602 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1603 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1604 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1605 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1606 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1607 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1608 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1609 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1610 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1611 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1612 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1614 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1616 * sysdeps/cris/Dist: New file.
1617 * sysdeps/cris/Implies: New file.
1618 * sysdeps/cris/Makefile: New file.
1619 * sysdeps/cris/__longjmp.S: New file.
1620 * sysdeps/cris/_mcount.S: New file.
1621 * sysdeps/cris/bits/endian.h: New file.
1622 * sysdeps/cris/bits/setjmp.h: New file.
1623 * sysdeps/cris/bits/string.h: New file.
1624 * sysdeps/cris/dl-machine.h: New file.
1625 * sysdeps/cris/elf/start.S: New file.
1626 * sysdeps/cris/machine-gmon.h: New file.
1627 * sysdeps/cris/memcopy.h: New file.
1628 * sysdeps/cris/memusage.h: New file.
1629 * sysdeps/cris/setjmp.S: New file.
1630 * sysdeps/cris/sysdep.h: New file.
1631 * sysdeps/cris/wordcopy.c: New file.
1633 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1635 * elf/elf.h: Add new relocations for CRIS.
1637 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1639 * shlib-versions: Add cases for Linux on CRIS.
1641 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1643 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1644 ';' for comments and '@' for line separator.
1646 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1648 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1649 typo; s/==/=/ for assignment.
1651 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1653 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1655 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1657 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1658 empty input before checking full output.
1660 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1662 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1665 2001-04-08 Ulrich Drepper <drepper@redhat.com>
1667 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1669 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
1671 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1674 2001-04-07 Ulrich Drepper <drepper@redhat.com>
1676 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1678 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1679 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1680 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1681 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1682 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1683 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1685 2001-04-07 Andreas Jaeger <aj@suse.de>
1687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1688 instead of separate sin and cos.
1689 (__ieee754_j1l): Likewise.
1691 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1693 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
1695 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
1697 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1699 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1701 * sysdeps/generic/e_scalbf.c: Likewise.
1702 * sysdeps/generic/e_scalbl.c: Likewise.
1703 Patch by Mark Hatle <fray@mvista.com>.
1705 2001-04-05 David S. Miller <davem@redhat.com>
1707 * sysdeps/sparc/abort-instr.h: New file.
1709 2001-04-05 Matt Wilson <msw@redhat.com>
1711 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1712 added code to parse new 2.4 format.
1713 (GET_NPROCS_CONF_PARSER): Likewise.
1715 2001-04-05 David S. Miller <davem@redhat.com>
1717 * scripts/config.sub: Recognize sparcv9b like sparcv9.
1718 * configure.in: Add sparcv9b.
1719 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1720 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1721 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1723 2001-04-06 David Mosberger <davidm@hpl.hp.com>
1725 * stdlib/tst-setcontext.c: Move st2[] to global scope.
1726 (f2): Verify that stack pointer is inside st2[].
1728 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1729 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1731 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1733 * timezone/antarctica: Update from tzdata2001b.
1734 * timezone/asia: Likewise.
1735 * timezone/australasia: Likewise.
1736 * timezone/europe: Likewise.
1737 * timezone/northamerica: Likewise.
1739 * iconv/iconv_open.c: Move strip and upstr definitions...
1740 * iconv/gconv_charset.h: ...here. New file.
1741 * iconv/gconv_db.c (once): Move to file level.
1742 (do_lookup_alias): Split out from __gconv_find_transform.
1743 (__gconv_find_transform): Call do_lookup_alias.
1744 (__gconv_loopup_alias): New function.
1745 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1747 * locale/categories.def: Add entries for new _NL_*_CODESET values.
1748 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1749 * locale/C-address.c: Initialize _NL_*_CODESET element.
1750 * locale/C-collate.c: Likewise.
1751 * locale/C-identification.c: Likewise.
1752 * locale/C-measurement.c: Likewise.
1753 * locale/C-messages.c: Likewise.
1754 * locale/C-monetary.c: Likewise.
1755 * locale/C-name.c: Likewise.
1756 * locale/C-numeric.c: Likewise.
1757 * locale/C-paper.c: Likewise.
1758 * locale/C-telephone.c: Likewise.
1759 * locale/C-time.c: Likewise.
1760 * locale/localeinfo.h: Declare _nl_C_codeset.
1761 * locale/C_name.c: Define _nl_C_codeset.
1762 * locale/findlocale.c: Before accepting locale check that the used
1763 charset does not conflict with what the locale name said.
1764 * locale/programs/ld-address.c: Emit codeset information.
1765 * locale/programs/ld-collate.c: Likewise.
1766 * locale/programs/ld-identification.c: Likewise.
1767 * locale/programs/ld-measurement.c: Likewise.
1768 * locale/programs/ld-messages.c: Likewise.
1769 * locale/programs/ld-monetary.c: Likewise.
1770 * locale/programs/ld-name.c: Likewise.
1771 * locale/programs/ld-numeric.c: Likewise.
1772 * locale/programs/ld-paper.c: Likewise.
1773 * locale/programs/ld-telephone.c: Likewise.
1774 * locale/programs/ld-time.c: Likewise.
1776 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1777 if the locale data couldn't be found.
1779 * string/Makefile: Define tst-strxfrm-ENV.
1781 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1783 2001-04-06 Andreas Jaeger <aj@suse.de>
1785 * include/sys/profil.h: New file.
1787 * dlfcn/modatexit.c: Add prototypes to silence GCC.
1788 * dlfcn/modcxaatexit.c: Likewise.
1789 * elf/globalmod1.c: Likewise.
1791 2001-04-05 David S. Miller <davem@redhat.com>
1793 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1794 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1795 capability flags table and HWCAP_IMPORTANT, increase
1796 _DL_HWCAP_COUNT to 6.
1797 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1799 2001-04-04 David Mosberger <davidm@hpl.hp.com>
1801 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1802 initialization of stack_end (bug reported by Zheng Gengbin
1803 <gzheng@students.uiuc.edu>).
1805 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1807 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1809 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1811 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1813 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1815 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1816 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
1818 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1820 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1822 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1823 define simple replacements here. Patch by Michael Keezer.
1825 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1826 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1827 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1829 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1832 2001-04-01 Andreas Jaeger <aj@suse.de>
1834 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1837 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1839 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1841 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1842 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1844 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
1846 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1847 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1848 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1849 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1851 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1852 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1853 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1854 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1856 2001-04-04 Andreas Jaeger <aj@suse.de>
1858 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1861 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1863 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1864 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1865 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1866 (unsigned_dec): Likewise.
1867 Patch by atai@jezebel.dreamhost.com.
1869 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1870 pointer to int as last parameter of yp_match.
1871 Patch by kanazawa@flab.fujitsu.co.jp.
1873 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1875 * resolv/netdb.h (gai_strerror): Make return value const.
1876 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1877 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1878 Add strings for new error values.
1880 2001-03-29 Michael Keezer <mkeezer@redhat.com>
1882 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1883 * login/tst-utmp.c: Handle case where ut_tv is not available but
1885 * sysdeps/unix/sysv/aix/utmpx.h: New file.
1886 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1887 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1888 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1889 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1890 to access RTCU timer reg.
1891 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1892 added dl-libc, dl-open,dl-sym, dl-close to misc.
1893 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
1894 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
1895 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
1896 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
1897 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
1898 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
1899 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1901 * sysdeps/generic/strtoull.c: Likewise.
1902 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1903 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1904 sysdeps/generic/memset.c.
1905 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1907 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1909 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1910 * locale/programs/charmap.c: Define null_pointer if
1911 NEED_NULL_POINTER is defined.
1913 * misc/dirname.c (dirname): Handle multiple slashes correctly.
1915 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1917 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1919 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1921 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1922 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1923 * sysdeps/s390/s390-32/mempcy.S: Likewise.
1924 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1926 2001-04-02 Bruno Haible <haible@clisp.cons.org>
1928 * manual/message.texi (Advanced gettext functions): More specific
1929 syntax in the plural formula examples.
1931 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1933 * sysdeps/powerpc/atomicity.h: Silence warnings.
1934 * sysdeps/powerpc/dl-machine.h: Likewise.
1935 * sysdeps/powerpc/register-dump.h: Likewise.
1936 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1938 2001-04-02 Andreas Jaeger <aj@suse.de>
1940 * misc/tst-dirname.c (main): Add more tests, derived from a bug
1941 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1943 2001-04-01 Andreas Jaeger <aj@suse.de>
1945 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1947 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1949 2001-04-01 H.J. Lu <hjl@gnu.org>
1951 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1953 * stdlib/isomac.c (macrofile): Likewise.
1955 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
1957 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1958 * nis/ypclnt.c (yp_all): Print error message only at last try,
1959 check for protocoll error only if we don't have a network error.
1961 2001-04-02 Andreas Schwab <schwab@suse.de>
1963 * resolv/res_data.c (res_isourserver): Fix cast.
1965 2001-04-02 Andreas Jaeger <aj@suse.de>
1967 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1970 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1972 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1974 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1976 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1978 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1979 warning about unused variable.
1981 * string/string.h (strndupa): Add cast for C++ conformance.
1982 (strdupa): Likewise.
1983 Fixes PR libc/2173, reported by tbrowder@home.com.
1985 2001-03-30 Roland McGrath <roland@frob.com>
1987 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1988 options after $(build-module), which is no longer a single command.
1989 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1990 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1991 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
1993 2001-03-11 Roland McGrath <roland@frob.com>
1995 * elf/rtld.c (dl_main): Add cast to quiet warning.
1996 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1997 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1998 (__gconv_read_conf): Likewise.
1999 * iconv/gconv_db.c (gen_steps): Likewise.
2000 (__gconv_find_transform): Likewise.
2001 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
2002 (fopen_uncompressed): Use const in second argument's type.
2004 2001-03-11 Roland McGrath <roland@frob.com>
2006 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
2008 * mach/mach_error.h: Fix ancient #endif syntax.
2009 * hurd/hurdmalloc.c: Likewise.
2011 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
2012 compare_and_swap): Add volatile qualifier to first arg, to bring
2013 these prototypes in line with all the other implementations.
2014 Add a #warning to remind the builder that these are not atomic.
2016 2001-03-04 Roland McGrath <roland@frob.com>
2018 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
2019 member of TEMP_F so its type is _IO_FILE * as expected.
2021 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
2022 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
2023 it might exceed off_t's range.
2025 2001-02-25 Roland McGrath <roland@frob.com>
2027 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
2028 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
2030 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
2031 macro instead of an inline function,
2032 (MSG_EXAMINE): Likewise.
2034 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
2036 * hurd/get-host.c: Include <string.h> for decls of built-ins.
2037 * hurd/hurdchdir.c: Likewise.
2038 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
2039 * sysdeps/mach/hurd/opendir.c: Likewise.
2041 * mach/mach_init.c: Include <unistd.h> for _exit decl.
2043 * mach/errsystems.awk: Give output file a trailing newline.
2045 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
2046 the script will use our compiler for the cpp stage.
2048 With --enable-all-warnings we get a whole bunch of warnings,
2049 and these are just a few fixes; there are more needed to silence it.
2050 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
2051 decls before extern inline defns to quiet gcc warning.
2052 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
2053 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
2055 2001-03-31 Andreas Jaeger <aj@suse.de>
2057 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
2058 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
2059 (ARPHRD_CISCO): New.
2060 Changes from Linux 2.4.3.
2062 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
2064 * posix/regex.c: Avoid an access violation if malloc failes.
2066 2001-03-30 Andreas Jaeger <aj@suse.de>
2068 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
2070 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2072 * posix/regex.c: Remove unnecessary ifs.
2074 * math/bits/mathcalls.h: Remove infnan declaration.
2076 2001-03-29 H.J. Lu <hjl@gnu.org>
2078 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
2079 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
2080 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
2082 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
2084 * posix/regex.c: Fix typo and add a sentinel.
2086 2001-03-29 Ulrich Drepper <drepper@redhat.com>
2088 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
2089 O_NOFOLLOW. Suggested by Christoph Roland.
2091 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2093 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
2094 * sysdeps/s390/s390-32/bits/string.h: Remove.
2095 * sysdeps/s390/s390-64/bits/string.h: Remove.
2096 * sysdeps/s390/s390-32/strcmp.S: New file.
2097 * sysdeps/s390/s390-64/strcmp.S: New file.
2099 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2101 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
2102 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2104 2001-03-27 Ulrich Drepper <drepper@redhat.com>
2106 * version.h (VERSION): Bump to 2.2.3.
2108 * stdlib/isomac.c (fmt): Don't define _LIBC.
2109 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
2110 LOW_HALF only if _LIBC is defined.
2112 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
2114 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
2116 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
2118 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
2119 * include/endian.h: ...to here.
2121 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
2123 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
2124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
2126 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
2128 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
2130 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2132 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
2134 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
2136 * gmon/Makefile (headers): Add sys/profil.h.
2138 2001-03-18 Andreas Jaeger <aj@suse.de>
2140 * manual/install.texi (Tools for Compilation): Advise to use GCC
2142 (Supported Configurations): Mention s390x.
2144 2001-03-26 Ben Collins <bcollins@debian.org>
2146 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
2147 defines to match other architectures.
2149 2001-03-26 Ulrich Drepper <drepper@redhat.com>
2151 * libio/Makefile (tests): Add tst-ext.
2152 * libio/tst-ext.c: New file.
2154 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
2156 2001-03-25 Ulrich Drepper <drepper@redhat.com>
2158 Add changes which were in this form in the original patch by
2159 Eric Norum <eric.norum@usask.ca>.
2160 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
2162 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
2163 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2164 __rpc_thread_svc_max_pollfd.
2165 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2167 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2169 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2170 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2171 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2172 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2173 __rpc_thread_svc_max_pollfd.
2174 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2176 * sunrpc/clnt_perr.c: Likewise.
2177 * sunrpc/clnt_simp.c: Likewise.
2178 * sunrpc/clnt_tcp.c: Likewise.
2179 * sunrpc/clnt_udp.c: Likewise.
2180 * sunrpc/clnt_unix.c: Likewise.
2181 * sunrpc/pm_getport.c: Likewise.
2183 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2184 syscall checks for negative n so don't test here as well.
2186 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2188 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2189 * sysdeps/ia64/sysdep.h: ...here.
2191 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2192 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2194 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2195 declare instead of LEAF(). Suggestion from David Mosberger.
2197 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2199 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2201 (PSEUDO): Drop .psr and .lsb directives.
2203 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2205 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2207 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2209 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2210 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2211 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2212 longer needed). Add unwind directives.
2214 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2215 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2217 2001-03-21 Paul Eggert <eggert@twinsun.com>
2219 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2220 (RE_SYNTAX_POSIX_EGREP): Use it.
2221 * posix/regex.c (regex_compile): Implement it.
2223 2001-03-21 Paul Eggert <eggert@twinsun.com>
2225 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2226 Rewrite to avoid duplicate code.
2228 2001-03-21 H.J. Lu <hjl@gnu.org>
2230 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2231 for cross-compiling.
2232 ($(objpfx)tst-pathopt.out): Undo the last change.
2234 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2236 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2237 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2239 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2240 (_dl_argv): Declare.
2241 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2243 2001-03-22 Andreas Jaeger <aj@suse.de>
2245 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2247 * posix/Makefile (generated): Add bug-regex2.mtrace and
2250 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2252 * csu/version.c (__gnu_get_libc_release): Add prototype.
2253 (__gnu_get_libc_version): Likewise.
2254 * include/gnu/libc-version.h: Remove prototypes for not exported
2257 2001-03-21 Jes Sorensen <jes@linuxcare.com>
2259 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2260 for internationalized printfs to work.
2262 2001-03-09 Bruno Haible <haible@clisp.cons.org>
2264 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2265 avoid compiler warning.
2266 (_nl_find_msg): Add casts to avoid compiler warnings.
2268 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2270 * gmon/Makefile (routines): Add sprofil.
2271 (tests): Add tst-sprofil.
2272 (noprof): Add sprofil.
2273 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2275 2001-03-20 David Mosberger <davidm@hpl.hp.com>
2277 * sysdeps/generic/sprofil.c: New file.
2278 * sysdeps/posix/sprofil.c: New file.
2279 * gmon/tst-sprofil.c: New file.
2280 * gmon/sys/profil.h: New file.
2282 2001-03-20 Andreas Schwab <schwab@suse.de>
2284 * include/unistd.h: Adjust prototype of __gethostname.
2286 2001-03-20 Jakub Jelinek <jakub@redhat.com>
2288 * sysdeps/sparc/stackinfo.h: New file.
2290 2001-03-21 Andreas Jaeger <aj@suse.de>
2292 * elf/global.c (main): Use proper prototype.
2294 2001-03-20 Ulrich Drepper <drepper@redhat.com>
2296 * sunrpc/Makefile (routines): Add rpc_thread.
2297 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2298 * sunrpc/rpc_thread.c: New file.
2299 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2300 * sunrpc/auth_none.c: Don't use global variables. Access state in
2301 thread-local storage.
2302 * sunrpc/clnt_perr.c: Likewise.
2303 * sunrpc/clnt_raw.c: Likewise.
2304 * sunrpc/clnt_simp.c: Likewise.
2305 * sunrpc/key_call.c: Likewise.
2306 * sunrpc/rpc_common.c: Likewise.
2307 * sunrpc/svc.c: Likewise.
2308 * sunrpc/svc_raw.c: Likewise.
2309 * sunrpc/svc_simple.c: Likewise.
2310 * sunrpc/svcauth_des.c: Likewise.
2311 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2312 _HURD_THREADVAR_RPC_VARS.
2313 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2314 * include/rpc/rpc.h: Define data structures for internal thread-local
2316 Based on patches by Eric Norum <eric.norum@usask.ca>.
2318 * elf/dl-load.c: Various little optimizations.
2320 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2321 LINUX_LINK_MAX only if the statfs function is not implemented for
2324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2325 LINUX_LINK_MAX only if the fstatfs function is not implemented for
2328 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2330 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2332 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2333 (_dl_dst_substitute): Likewise.
2335 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2337 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2339 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2341 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2342 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2343 union by a 'nargs' counter and an 'args[]' array.
2344 * intl/plural.y: Don't include stdarg.h.
2345 (new_exp): Take an array of arguments instead of varargs.
2346 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2347 ('?' ':'): Make right-associative.
2348 (EQUOP2): New token, replaces '=' and '!'.
2349 (CMPOP2): New token.
2350 (ADDOP2): New token, replaces '+' and '-'.
2351 (MULOP2): New token, replaces '*', '/' and '%'.
2353 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2354 (start): Call YYABORT here.
2355 (FREE_EXPRESSION): Update.
2356 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2357 Update for new token symbols.
2358 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2359 init_germanic_plural): Update.
2360 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2361 (plural_eval): Recognize comparison and '!' operators. Optimize for
2364 2001-03-10 Bruno Haible <haible@clisp.cons.org>
2366 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2369 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2371 * intl/loadmsgcat.c: Include headers needed for alloca().
2373 (_nl_load_domain): Add fallback code for platforms lacking alloca.
2374 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2376 (read_alias_file): Simplify fallback code for platforms lacking
2379 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2381 * intl/gettextP.h (__gettextdebug): Remove declaration.
2382 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2384 (gettext_free_exp__, gettextparse__): New non-libc declarations.
2385 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2386 not __gettextparse, __gettext_free_exp.
2387 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2389 2001-02-24 Bruno Haible <haible@clisp.cons.org>
2391 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2393 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2395 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2396 lacking strtoul, like SunOS4.
2398 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2400 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2402 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2404 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2406 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2407 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2408 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2411 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2413 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2414 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2416 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2417 * intl/dcgettext.c: Likewise.
2418 * intl/dcigettext.c: Likewise.
2419 * intl/dcngettext.c: Likewise.
2420 * intl/dngettext.c: Likewise.
2421 * intl/finddomain.c: Likewise.
2422 * intl/ngettext.c: Likewise.
2423 * intl/textdomain.c: Likewise.
2424 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2426 * intl/gettext.c: Likewise. Don't include locale.h.
2428 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2430 * intl/gettextP.h (ZERO): New macro.
2431 (struct binding): Always use ZERO.
2432 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2433 lack it, like SunOS4.
2434 (set_binding_values): Use offsetof, not sizeof.
2435 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2436 lack it, like SunOS4.
2437 (ZERO): Remove macro.
2438 (struct transmem_list): Use ZERO.
2439 (DCIGETTEXT): Use offsetof, not sizeof.
2441 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2443 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2445 * intl/bindtextdom.c: Don't include gettext.h.
2446 * intl/dcgettext.c: Likewise.
2447 * intl/dcigettext.c: Likewise.
2448 * intl/dcngettext.c: Likewise.
2449 * intl/dngettext.c: Likewise.
2450 * intl/finddomain.c: Likewise.
2451 * intl/localealias.c: Likewise.
2452 * intl/ngettext.c: Likewise.
2453 * intl/plural.y: Likewise.
2454 * intl/textdomain.c: Likewise.
2456 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2458 * intl/gettext.h: Don't include <stdio.h>.
2460 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2462 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2463 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2465 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2467 * sysdeps/unix/i386/i686/tempname.c: New file.
2469 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2470 defined use this macro to get some bits of randomness instead of
2471 the usual gettimeofday or time calls.
2473 2001-03-16 Paul Eggert <eggert@twinsun.com>
2475 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2476 not defined, and if UINT64_MAX is not defined.
2478 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2480 * elf/cache.c: Mark and have translated a few more messages.
2482 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2484 * elf/cache.c: Add case for FLAG_S390_LIB64.
2485 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2486 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2487 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2489 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2491 * string/Makefile (tests): Add tst-strxfrm.
2492 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
2493 * string/Depend: New file.
2495 2001-03-19 Paul Eggert <eggert@twinsun.com>
2497 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2498 when given the empty string in nontrivial locales.
2500 2001-03-17 H.J. Lu <hjl@gnu.org>
2502 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2503 cp to install `dir'.
2505 2001-03-19 Andreas Schwab <schwab@suse.de>
2507 * Makerules (build-shlib): Make sure exit codes get checked
2510 2001-03-18 Ulrich Drepper <drepper@redhat.com>
2512 * Makerules (build-shlib): Remove unnecessary slashes introduced in
2515 * configure.in: Test for -Bgroup option of linker.
2516 * config.make.in: Define have-Bgroup.
2518 * conform/data/unistd.h-data: Require gethostname.
2519 * posix/unistd.h: Make gethostname prototype available for
2522 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2523 * debug/Makefile: Likewise.
2524 * dlfcn/Makefile: Likewise.
2525 * hesiod/Makefile: Likewise.
2526 * iconvdata/extra-module.mk: Likewise.
2527 * locale/Makefile: Likewise.
2528 * login/Makefile: Likewise.
2529 * math/Makefile: Likewise.
2530 * nis/Makefile: Likewise.
2531 * nss/Makefile: Likewise.
2532 * resolv/Makefile: Likewise.
2533 * rt/Makefile: Likewise.
2535 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2537 * inet/Makefile (tests): Remove left-over comment.
2539 * posix/unistd.h (gethostname): Change type of second parameter
2540 back to size_t as per upcoming XPG6.
2541 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2542 parameter back to size_t as per upcoming XPG6.
2543 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2544 * sysdeps/unix/sysv/gethostname.c: Likewise.
2545 * sysdeps/mach/hurd/gethostname.c: Likewise.
2546 * sysdeps/generic/gethostname.c: Likewise.
2548 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2553 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2556 2001-02-06 Jakub Jelinek <jakub@redhat.com>
2558 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2559 looking for name matches.
2561 2001-02-26 Jakub Jelinek <jakub@redhat.com>
2563 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2564 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2565 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2566 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2567 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2568 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2569 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2571 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2572 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2574 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2576 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2578 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2579 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2581 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2583 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2585 2001-03-16 David Mosberger <davidm@hpl.hp.com>
2587 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2588 Drop hack that was needed for 2.1.1 kernel headers.
2590 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2592 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2593 overlay with kernel's "struct sigcontext".
2595 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2596 sys/rse.h for "misc" subdir.
2597 (sysdep_routines): Add __start_context for "stdlib" subdir.
2599 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2600 kernel file of the same name).
2602 * stdlib/Makefile (tests): Add tst-setcontext.
2603 * stdlib/tst-setcontext.c: New file (based on a sample program by
2606 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2607 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2608 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2609 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2610 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2612 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2613 instead of shift & and.
2615 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2617 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2618 * sysdeps/s390/bits/huge_val.h: ...here.
2619 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2620 * sysdeps/s390/s390-64/ffs.c: Move to...
2621 * sysdeps/s390/ffs.c: ...here.
2622 * sysdeps/s390/s390-32/ffs.c: Remove.
2624 2001-03-16 Jakub Jelinek <jakub@redhat.com>
2626 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2627 update osversion from more recent library.
2629 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2631 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2632 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2633 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2634 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2635 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2636 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2637 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2638 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2640 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2641 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2642 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2643 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2644 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2645 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2646 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2647 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2649 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2650 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2651 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2652 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2653 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2654 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2655 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2656 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2657 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2658 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2659 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2660 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2661 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2662 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2663 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2664 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2665 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2666 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2667 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2668 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2669 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2670 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2671 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2672 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2673 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2674 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2675 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2676 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2677 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2678 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2679 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2680 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2681 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2682 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2683 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2685 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2687 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2688 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2689 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2690 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2691 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2692 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2693 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2694 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2695 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2696 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2697 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2698 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2699 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2700 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2701 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2702 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2703 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2704 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2705 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2706 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2707 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2708 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2709 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2710 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2711 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2712 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2713 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2714 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2715 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2716 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2717 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2718 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2719 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2720 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2721 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2722 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2723 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2724 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2725 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2726 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2727 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2728 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2729 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2730 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2731 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2732 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2733 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2734 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2735 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2736 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2737 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2739 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2741 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2742 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2743 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2744 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2746 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2748 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2749 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2750 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2751 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2752 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2753 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2754 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2755 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2756 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2757 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2758 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2759 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2760 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2761 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2762 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2763 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2764 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2765 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2766 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2767 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2768 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2769 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2770 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2771 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2772 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2773 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2774 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2775 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2776 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2778 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2779 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2780 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2781 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2782 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2783 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2784 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2785 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2786 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2788 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2789 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2790 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2791 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2792 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2793 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2794 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2795 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2798 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2799 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2800 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2802 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2804 * sysdeps/s390/Dist: Move to...
2805 * sysdeps/s390/390-32/Dist: ...here.
2806 * sysdeps/s390/Implies: Move to...
2807 * sysdeps/s390/s390-32/Implies: ...here.
2808 * sysdeps/s390/Makefile: Move to...
2809 * sysdeps/s390/s390-32/Makefile: ...here.
2810 * sysdeps/s390/Versions: Move to...
2811 * sysdeps/s390-32/s390/Versions: ...here.
2812 * sysdeps/s390/add_n.S: Move to...
2813 * sysdeps/s390/s390-32/add_n.S: ...here.
2814 * sysdeps/s390/addmul_1.S: Move to...
2815 * sysdeps/s390/s390-32/addmul_1.S: ...here.
2816 * sysdeps/s390/atomicity.h: Move to...
2817 * sysdeps/s390/s390-32/atomicity.h: ...here.
2818 * sysdeps/s390/backtrace.c: Move to...
2819 * sysdeps/s390/s390-32/backtrace.c: ...here.
2820 * sysdeps/s390/bcopy.S: Move to...
2821 * sysdeps/s390/s390-32/bcopy.S: ...here.
2822 * sysdeps/s390/bits/byteswap.h: Move to...
2823 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2824 * sysdeps/s390/bits/huge_val.h: Move to...
2825 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2826 * sysdeps/s390/bsd-_setjmp.S: Move to...
2827 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2828 * sysdeps/s390/bsd-setjmp.S: Move to...
2829 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2830 * sysdeps/s390/bzero.S: Move to...
2831 * sysdeps/s390/s390-32/bzero.S: ...here.
2832 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2833 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2834 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2835 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2836 * sysdeps/s390/elf/start.S: Move to...
2837 * sysdeps/s390/s390-32/elf/start.S: ...here.
2838 * sysdeps/s390/ffs.c: Move to...
2839 * sysdeps/s390/s390-32/ffs.c: ...here.
2840 * sysdeps/s390/memchr.S: Move to...
2841 * sysdeps/s390/s390-32/memchr.S: ...here.
2842 * sysdeps/s390/memcpy.S: Move to...
2843 * sysdeps/s390/s390-32/memcpy.S: ...here.
2844 * sysdeps/s390/memset.S: Move to...
2845 * sysdeps/s390/s390-32/memset.S: ...here.
2846 * sysdeps/s390/mul_1.S: Move to...
2847 * sysdeps/s390/s390-32/mul_1.S: ...here.
2848 * sysdeps/s390/s390-mcount.S: Move to...
2849 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2850 * sysdeps/s390/strcpy.S: Move to...
2851 * sysdeps/s390/s390-32/strcpy.S: ...here.
2852 * sysdeps/s390/strncpy.S: Move to...
2853 * sysdeps/s390/s390-32/strncpy.S: ...here.
2854 * sysdeps/s390/sub_n.S: Move to...
2855 * sysdeps/s390/s390-32/sub_n.S: ...here.
2857 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2859 * sysdeps/s390/s390-64/Dist: New file.
2860 * sysdeps/s390/s390-64/Implies: New file.
2861 * sysdeps/s390/s390-64/Makefile: New file.
2862 * sysdeps/s390/s390-64/__longjmp.c: New file.
2863 * sysdeps/s390/s390-64/add_n.S: New file.
2864 * sysdeps/s390/s390-64/atomicity.h: New file.
2865 * sysdeps/s390/s390-64/backtrace.c: New file.
2866 * sysdeps/s390/s390-64/bcopy.S: New file.
2867 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2868 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2869 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2870 * sysdeps/s390/s390-64/bits/string.h: New file.
2871 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2872 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2873 * sysdeps/s390/s390-64/bzero.S: New file.
2874 * sysdeps/s390/s390-64/dl-machine.h: New file.
2875 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2876 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2877 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2878 * sysdeps/s390/s390-64/elf/start.S: New file.
2879 * sysdeps/s390/s390-64/ffs.c: New file.
2880 * sysdeps/s390/s390-64/initfini.c: New file.
2881 * sysdeps/s390/s390-64/memchr.S: New file.
2882 * sysdeps/s390/s390-64/memcpy.S: New file.
2883 * sysdeps/s390/s390-64/memset.S: New file.
2884 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2885 * sysdeps/s390/s390-64/setjmp.S: New file.
2886 * sysdeps/s390/s390-64/strcpy.S: New file.
2887 * sysdeps/s390/s390-64/strncpy.S: New file.
2888 * sysdeps/s390/s390-64/sub_n.S: New file.
2889 * sysdeps/s390/s390-64/sysdep.h: New file.
2891 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2893 * scripts/config.guess: Add support for Linux on 64 bit S/390.
2894 * scripts/config.sub: Likewise.
2896 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2898 * configure.in: Add support for 64 bit S/390.
2900 * elf/elf.h: Add new relocations for 64 bit S/390.
2902 * shlib-versions: Add rules for Linux on 64 bit S/390.
2904 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2906 * sysdeps/s390/__longjmp.c: Move to...
2907 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
2908 to load the floating point registers that should be saved
2909 according to the ABI.
2911 * sysdeps/s390/bits/setjmp.h: Move to...
2912 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
2913 the use of long long in the __jmp_buf type definition.
2915 * sysdeps/s390/bits/string.h: Move to...
2916 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
2917 #ifndef _FORCE_INLINES.
2919 * sysdeps/s390/dl-machine.h: Move to...
2920 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
2921 executables EI_CLASS in elf_machine_matches_host.
2923 * sysdeps/s390/elf/setjmp.S: Move to...
2924 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
2925 branches to globally defined symbol __sigsetjmp by branches to
2926 a local label (this avoids the generation of a R_390_PC16DBL
2927 relocation in -fpic code).
2929 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2930 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2932 * sysdeps/s390/initfini.c: Move to...
2933 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
2936 * sysdeps/s390/setjmp.S: Move to...
2937 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
2938 floating point registers that should be saved according to the ABI.
2940 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2942 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2944 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2946 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2948 * configure.in: Change machine=s390 to machine=s390/s390-32.
2950 * elf/elf.h: Correct comment for R_390_PLT16DBL.
2952 2001-03-12 Jakub Jelinek <jakub@redhat.com>
2954 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2955 version to be overriden from config.h.
2956 * csu/abi-note.S: Use OS and version separately, include config.h.
2957 * elf/dl-load.c (_dl_osversion): New.
2958 (_dl_map_object_from_fd): Kill some warnings.
2959 (open_verify): Check .note.ABI-tag of the library if present.
2960 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2961 * elf/cache.c (struct cache_entry): Add osversion.
2962 (print_entry): Print osversion.
2963 (print_cache): Pass osversion to it.
2964 (compare): Sort according to osversion.
2965 (save_cache): Set osversion.
2966 (add_to_cache): Add osversion argument.
2967 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2968 process_elf_file): Add osversion argument.
2969 * elf/readlib.c (process_file): Likewise.
2970 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2971 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2972 process_elf32_file, process_elf64_file): Likewise.
2973 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2974 process_elf32_file, process_elf64_file): Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2976 process_elf32_file, process_elf64_file): Likewise.
2977 * elf/ldconfig.c (manual_link): Pass it.
2978 (search_dir): Issue diagnostic if two libs with the same soname in
2979 the same directory have different .note.ABI-tag. Record osversion in
2980 dlib_entry and use it from there.
2981 (struct lib_entry): Remove.
2982 (struct dlib_entry): Add osversion.
2983 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2985 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2986 field with osversion.
2987 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2988 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2989 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2990 version in _dl_osversion.
2991 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2992 * Makerules (build-shlib-helper, build-module-helper): New.
2993 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2995 * config.h.in (__ABI_TAG_VERSION): Add.
2996 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2997 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2998 Handle LD_ASSUME_KERNEL.
2999 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
3001 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3003 * timezone/antarctica: Update from tzdata2001a.
3004 * timezone/asia: Likewise.
3005 * timezone/australasia: Likewise.
3006 * timezone/backward: Likewise.
3007 * timezone/etcetera: Likewise.
3008 * timezone/europe: Likewise.
3009 * timezone/leapseconds: Likewise.
3010 * timezone/northamerica: Likewise.
3011 * timezone/southamerica: Likewise.
3012 * timezone/systemv: Likewise.
3013 * timezone/yearistype: Likewise.
3014 * timezone/zone.tab: Likewise.
3015 * timezone/tzdump.c: Update from tzcode2001a.
3017 2001-03-15 H.J. Lu <hjl@gnu.org>
3019 * intl/Makefile: Fix a typo.
3021 2001-03-14 David Mosberger <davidm@hpl.hp.com>
3023 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
3024 writing arc structures.
3026 2001-03-15 H.J. Lu <hjl@gnu.org>
3028 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
3031 2001-03-13 Andreas Schwab <schwab@suse.de>
3033 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
3035 2001-03-15 Ulrich Drepper <drepper@redhat.com>
3037 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
3038 for control message fitting into message data.
3039 Patch by James Antill <james@and.org>.
3041 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
3044 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
3045 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
3047 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
3048 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
3049 avoid running binaries with libc versions without FNM_EXTMATCH support.
3051 * include/wchar.h: Add prototype for __wcscat.
3052 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
3054 * posix/fnmatch.h (FNM_EXTMATCH): Define.
3055 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
3056 (posixly_correct): Move global variable here.
3057 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
3058 (fnmatch): Pretty printing.
3059 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
3060 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
3061 * posix/tst-fnmatch.input: Add tests for extended matching.
3063 * posix/testfnm.c: Add test for patterns with multiple ** before /.
3064 * posix/fnmatch_loop.c: Fix problem with the test above.
3066 2001-03-14 Ulrich Drepper <drepper@redhat.com>
3068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
3071 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
3073 2001-03-12 Andreas Jaeger <aj@suse.de>
3075 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3076 Use EM_X86_64 instead of EM_X8664.
3078 2001-03-12 Ulrich Drepper <drepper@redhat.com>
3080 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
3082 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
3085 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
3088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
3092 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
3094 (__ieee754_acos): Likewise.
3096 2001-03-12 Andreas Jaeger <aj@suse.de>
3098 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
3099 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3101 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
3104 2001-03-11 Roland McGrath <roland@frob.com>
3106 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
3108 2001-03-11 Ulrich Drepper <drepper@redhat.com>
3110 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
3113 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
3116 Last-bit accurate math library implementation by IBM Haifa.
3117 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
3118 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
3119 Anna Reitman <reitman@il.ibm.com>.
3120 * math/Makefile (dbl-only-routines): New variable.
3121 (libm-routines): Add $(dbl-only-routines).
3122 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
3123 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
3125 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
3127 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
3129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
3131 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
3133 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
3134 remainder implementation.
3135 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
3137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
3139 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
3140 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
3141 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
3143 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
3144 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
3146 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
3148 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
3150 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
3151 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
3152 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
3153 * sysdeps/ieee754/dbl-64/atnat.h: New file.
3154 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
3155 * sysdeps/ieee754/dbl-64/branred.c: New file.
3156 * sysdeps/ieee754/dbl-64/branred.h: New file.
3157 * sysdeps/ieee754/dbl-64/dla.h: New file.
3158 * sysdeps/ieee754/dbl-64/doasin.c: New file.
3159 * sysdeps/ieee754/dbl-64/doasin.h: New file.
3160 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
3161 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
3162 * sysdeps/ieee754/dbl-64/endian.h: New file.
3163 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
3164 * sysdeps/ieee754/dbl-64/mpa.c: New file.
3165 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3166 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3167 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3168 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3169 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3170 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3171 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3172 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3173 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3174 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3175 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3176 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3177 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3178 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3179 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3180 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3181 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3182 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3183 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3184 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3185 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3186 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3187 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3188 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3189 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3190 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3191 * sysdeps/ieee754/dbl-64/upow.h: New file.
3192 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3193 * sysdeps/ieee754/dbl-64/urem.h: New file.
3194 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3195 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3196 * sysdeps/ieee754/dbl-64/utan.h: New file.
3197 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3198 * sysdeps/i386/fpu/branred.c: New file.
3199 * sysdeps/i386/fpu/doasin.c: New file.
3200 * sysdeps/i386/fpu/dosincos.c: New file.
3201 * sysdeps/i386/fpu/halfulp.c: New file.
3202 * sysdeps/i386/fpu/mpa.c: New file.
3203 * sysdeps/i386/fpu/mpatan.c: New file.
3204 * sysdeps/i386/fpu/mpatan2.c: New file.
3205 * sysdeps/i386/fpu/mpexp.c: New file.
3206 * sysdeps/i386/fpu/mplog.c: New file.
3207 * sysdeps/i386/fpu/mpsqrt.c: New file.
3208 * sysdeps/i386/fpu/mptan.c: New file.
3209 * sysdeps/i386/fpu/sincos32.c: New file.
3210 * sysdeps/i386/fpu/slowexp.c: New file.
3211 * sysdeps/i386/fpu/slowpow.c: New file.
3212 * sysdeps/ia64/fpu/branred.c: New file.
3213 * sysdeps/ia64/fpu/doasin.c: New file.
3214 * sysdeps/ia64/fpu/dosincos.c: New file.
3215 * sysdeps/ia64/fpu/halfulp.c: New file.
3216 * sysdeps/ia64/fpu/mpa.c: New file.
3217 * sysdeps/ia64/fpu/mpatan.c: New file.
3218 * sysdeps/ia64/fpu/mpatan2.c: New file.
3219 * sysdeps/ia64/fpu/mpexp.c: New file.
3220 * sysdeps/ia64/fpu/mplog.c: New file.
3221 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3222 * sysdeps/ia64/fpu/mptan.c: New file.
3223 * sysdeps/ia64/fpu/sincos32.c: New file.
3224 * sysdeps/ia64/fpu/slowexp.c: New file.
3225 * sysdeps/ia64/fpu/slowpow.c: New file.
3226 * sysdeps/m68k/fpu/branred.c: New file.
3227 * sysdeps/m68k/fpu/doasin.c: New file.
3228 * sysdeps/m68k/fpu/dosincos.c: New file.
3229 * sysdeps/m68k/fpu/halfulp.c: New file.
3230 * sysdeps/m68k/fpu/mpa.c: New file.
3231 * sysdeps/m68k/fpu/mpatan.c: New file.
3232 * sysdeps/m68k/fpu/mpatan2.c: New file.
3233 * sysdeps/m68k/fpu/mpexp.c: New file.
3234 * sysdeps/m68k/fpu/mplog.c: New file.
3235 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3236 * sysdeps/m68k/fpu/mptan.c: New file.
3237 * sysdeps/m68k/fpu/sincos32.c: New file.
3238 * sysdeps/m68k/fpu/slowexp.c: New file.
3239 * sysdeps/m68k/fpu/slowpow.c: New file.
3241 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3244 2001-03-11 Andreas Jaeger <aj@suse.de>
3246 * elf/elf.h (EM_*): Synch with official list.
3248 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3250 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3252 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3254 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3255 variables addr & len.
3257 2001-02-22 Jes Sorensen <jes@linuxcare.com>
3259 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3260 punctuation in asm constraint.
3262 2001-03-07 Mark Kettenis <kettenis@gnu.org>
3264 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3265 <time.h> to get definition of `struct timespec'.
3267 2001-03-08 Jakub Jelinek <jakub@redhat.com>
3269 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3270 LD_WARN=1, not if LD_WARN is unset.
3272 2001-03-07 Andreas Schwab <schwab@suse.de>
3274 * elf/ldconfig.h: Moved to ...
3275 * sysdeps/generic/ldconfig.h: ... here.
3276 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3277 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3278 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3279 * elf/readlib.c (interpreters, known_libs): Use
3280 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3281 instead of hard coding old names.
3283 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3285 * catgets/Makefile (generated): Add test-gencat.h.
3286 (sample.SJIS.cat): Also generate header.
3287 * catgets/sample.SJIS: Add new set and message, both with symbolic
3289 * catgets/test-gencat.sh: Also compare generated header with what
3292 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3294 * catgets/gencat.c (read_input_file): Preserve properly symbolic
3297 2001-03-06 Andreas Jaeger <aj@suse.de>
3299 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3301 (elf_machine_pltrel_p): Likewise.
3302 * sysdeps/powerpc/dl-machine.h: Likewise.
3303 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3305 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3307 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3310 2001-03-05 Philip Blundell <philb@gnu.org>
3312 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3314 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3315 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3318 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3320 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3322 * dlfcn/tstcxaatexit.c (main): Likewise.
3324 2001-03-10 Andreas Jaeger <aj@suse.de>
3326 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3328 2001-03-09 Andreas Jaeger <aj@suse.de>
3330 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3331 both new and old EM_S390 values.
3332 (EM_S390_OLD): New constant.
3334 * elf/elf.h (EM_S390): Use official value.
3336 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3338 * conform/data/sys/socket.h-data: Allow SO* symbols.
3340 2001-03-07 Andreas Schwab <schwab@suse.de>
3342 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3343 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3345 2001-03-07 Andreas Jaeger <aj@suse.de>
3347 * resolv/Makefile (routines): Only build gai_sigqueue when threads
3350 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3352 * elf/ldconfig.c (_dl_sysdep_message): Remove.
3353 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3355 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3358 _dl_error_printf instead of _dl_sysdep_error.
3359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3360 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3361 Use _dl_printf instead of _dl_sysdep_message.
3362 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3365 2001-03-06 Ben Collins <bcollins@debian.org>
3367 * manual/arith.texi (Integers): Fix documentation of fast and
3368 least integer typedefs.
3370 2001-03-06 Jakub Jelinek <jakub@redhat.com>
3372 * resolv/Depend: New file.
3373 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3374 when libpthread is built.
3376 2001-03-06 Andreas Jaeger <aj@suse.de>
3378 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3380 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3381 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3383 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3385 * stdlib/Versions: Remove __new_exitfn again. Not needed.
3387 2001-03-05 Andreas Jaeger <aj@suse.de>
3389 * stdlib/msort.c (qsort): Don't use alloca in a function call.
3391 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3393 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3394 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
3396 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3397 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3398 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3399 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3400 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3404 2001-03-04 Andreas Jaeger <aj@suse.de>
3406 * stdlib/longlong.h: Don't use multi-line strings.
3407 * iconvdata/tst-loading.c: Likewise.
3409 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3412 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3414 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3416 * rt/lio_listio.c: Add a few asserts.
3418 * elf/global.c: New file.
3419 * elf/globalmod1.c: New file.
3420 * elf/Makefile: Add rules to build and run global.
3422 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3423 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3424 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3426 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3428 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3429 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3433 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3434 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3436 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3438 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3440 2001-03-04 Andreas Jaeger <aj@suse.de>
3442 * resolv/tst-aton.c: Add testcase for IP with four periods.
3444 * resolv/inet_addr.c: Don't recognize an IP with four periods.
3445 Patch by Andre' Breiler <A.Breiler@gmx.net>.
3447 2001-02-27 Philip Blundell <pb@futuretv.com>
3449 * elf/elf.h: Add new ARM definitions from latest (B-01)
3450 specification. Correct naming of EF_ARM_ALIGN8 et al.
3452 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3454 * stdio-common/tst-printf.sh: Remove bashisms.
3455 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3457 2001-03-03 Ulrich Drepper <drepper@redhat.com>
3459 * Versions.def: Add libanl definition.
3460 * shlib-versions: Add entry for libanl.
3461 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3462 (routines): Add gai_sigqueue.
3463 (extra-libs): Add libanl.
3464 (libanl-routines): New variable.
3465 Add rules to build libanl and ga_test.
3466 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3467 [libanl]: New library.
3468 * resolv/netdb.h: Add definitions for libanl.
3469 * resolv/getaddrinfo_a.c: New file.
3470 * resolv/gai_cancel.c: New file.
3471 * resolv/gai_error.c: New file.
3472 * resolv/gai_misc.c: New file.
3473 * resolv/gai_misc.h: New file.
3474 * resolv/gai_notify.c: New file.
3475 * resolv/gai_suspend.c: New file.
3476 * resolv/ga_test.c: New file.
3477 * sysdeps/generic/gai_sigqueue.c: New file.
3478 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3479 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3480 and provide only that definition.
3481 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3482 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3483 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3484 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3486 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3488 * rt/aio_misc.c: Fix typos in comments.
3489 * rt/lio_listio.c: Pretty printing. Little optimization in request
3492 * elf/rtld.c: Remove commented out code.
3494 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3495 Update for real 2.4 kernels.
3497 2001-03-01 Ulrich Drepper <drepper@redhat.com>
3499 * elf/dl-load.c: Pretty printing.
3501 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3504 2001-02-28 Ulrich Drepper <drepper@redhat.com>
3506 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3507 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3509 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3511 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3514 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3516 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3518 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3521 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
3523 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3524 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
3525 _dl_debug_printf_c, and _dl_printf.
3526 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3527 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3528 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
3529 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3530 * elf/dl-close.c: Replace use of old output functions with the new
3532 * elf/dl-deps.c: Likewise.
3533 * elf/dl-error.c: Likewise.
3534 * elf/dl-fini.c: Likewise.
3535 * elf/dl-init.c: Likewise.
3536 * elf/dl-load.c: Likewise.
3537 * elf/dl-lookup.c: Likewise.
3538 * elf/dl-minimal.c: Likewise.
3539 * elf/dl-open.c: Likewise.
3540 * elf/dl-profile.c: Likewise.
3541 * elf/dl-reloc.c: Likewise.
3542 * elf/dl-version.c: Likewise.
3543 * elf/do-lookup.h: Likewise.
3544 * elf/rtld.c: Likewise.
3545 * sysdeps/generic/dl-cache.c: Likewise.
3546 * sysdeps/generic/dl-sysdep.c: Likewise.
3547 * sysdeps/generic/libc-start.c: Likewise.
3548 * sysdeps/i386/dl-machine.h: Likewise.
3549 * sysdeps/arm/dl-machine.h: Likewise.
3550 * sysdeps/hppa/dl-machine.h: Likewise.
3551 * sysdeps/m68k/dl-machine.h: Likewise.
3552 * sysdeps/powerpc/dl-machine.h: Likewise.
3553 * sysdeps/s390/dl-machine.h: Likewise.
3554 * sysdeps/sh/dl-machine.h: Likewise.
3555 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3556 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3557 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3559 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3561 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3562 supported by assembler.
3564 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3567 * elf/rtld.c: Little optimizations in handling _dl_lazy.
3569 * elf/cache.c (save_cache): Portability changes.
3570 * elf/dl-profile.c (_dl_start_profile): Likewise.
3572 * elf/sln.c: Cleanups. Remove arbitrary limits.
3574 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3575 * elf/dl-deps.c: Likewise.
3576 * elf/dl-fini.c: Likewise.
3577 * elf/dl-init.c: Likewise.
3578 * elf/dl-load.c: Likewise.
3579 * elf/dl-lookup.c: Likewise.
3580 * elf/dl-open.c: Likewise.
3581 * elf/dl-reloc.c: Likewise.
3582 * elf/dl-support.c: Likewise.
3583 * elf/dl-version.c: Likewise.
3584 * elf/do-lookup.h: Likewise.
3585 * elf/rtld.c: Likewise.
3586 * sysdeps/generic/dl-cache.c: Likewise.
3587 * sysdeps/generic/ldsodefs.h: Likewise.
3588 * sysdeps/generic/libc-start.c: Likewise.
3589 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3590 Export _dl_debug_mask.
3591 * Versions.def: Define GLIBC_2.2.3 for ld.
3593 2001-02-26 Greg McGary <greg@mcgary.org>
3595 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3597 2001-02-26 Paul Eggert <eggert@twinsun.com>
3599 Modify mkstemp.c and tempname.c so that they can be used by
3600 GNU applications on non-glibc platforms.
3602 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3604 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3605 Include <stddef.h>, <stdint.h>, <string.h> only if
3606 STDC_HEADERS || _LIBC.
3607 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3608 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3609 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3610 (__set_errno): Define this macro if <errno.h> doesn't.
3611 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3612 Define these macros if <stdio.h> doesn't.
3613 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3614 Define these macros if <sys/stat.h> doesn't.
3615 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3616 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3617 lxstat64, __xstat64): Define if not _LIBC.
3618 (struct_stat64): New macro.
3619 (direxists, __gen_tempname): Use it, to avoid a
3620 portability problem with Solaris 8.
3621 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3622 (__gen_tempname): Invoke gettimeofday only if
3623 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3624 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3625 octal values like 0600.
3627 2001-02-26 Ulrich Drepper <drepper@redhat.com>
3629 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3630 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3632 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3633 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3635 * posix/wordexp-test.c (testit): Remove warnings.
3637 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3638 (tests): Add tstatexit and tstcxaatexit.
3639 (module-names): Add modatexit and modcxaatexit.
3640 Add rules to build and run tstatexit and tstcxaatexit.
3641 * dlfcn/modatexit.c: New file.
3642 * dlfcn/modcxaatexit.c: New file.
3643 * dlfcn/tstatexit.c: New file.
3644 * dlfcn/tstcxaatexit.c: New file.
3646 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3647 .hidden is available.
3648 * io/stat.c: If .hidden is available use it to avoid exporting
3650 * io/fstat.c: Likewise.
3651 * io/lstat.c: Likewise.
3652 * io/stat64.c: Likewise.
3653 * io/fstat64.c: Likewise.
3654 * io/lstat64.c: Likewise.
3655 * sysdeps/generic/mknod.c: Likewise.
3657 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3658 * sysdeps/generic/bb_init_func.c: Likewise.
3659 * sysdeps/generic/libc-start.c: Likewise.
3661 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3662 (atexit): Implement using __cxa_atexit.
3663 Use .hidden if availble to avoid exporting atexit.
3664 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3665 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3666 * stdlib/Makefile (routines): Add old_atexit.
3667 (static-only-routines): Add atexit.
3668 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3669 * stdlib/old_atexit.c: New file.
3671 * intl/Makefile: Remove bogus endif.
3673 2001-02-26 Andreas Jaeger <aj@suse.de>
3675 * iconvdata/Makefile (tests): Fix typo in last patch.
3677 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3679 Reported by Achim Gottinger <achim@gentoo.org>.
3681 2001-02-25 Andreas Jaeger <aj@suse.de>
3683 * intl/Makefile (plural.c): Reorder rules so that they work if
3684 BISON doesn't exist.
3686 2001-02-25 Ulrich Drepper <drepper@redhat.com>
3688 * intl/locale.alias: Don't use nb_NO but define aliases for it.
3690 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3692 * sysdeps/i386/strtok.S: Continue to return NULL after the first
3695 2001-02-23 Andreas Jaeger <aj@suse.de>
3697 * string/tester.c (test_strtok_r): Add testcase.
3698 (test_strtok_r): Always initialize cp for proper checking.
3700 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3701 returning NULL correctly.
3702 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3703 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3705 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3707 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3708 including <stddef.h>.
3709 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3710 * include/libc-symbols.h (weak_alias): Don't use .weak if
3711 HAVE_ASM_GLOBAL_DOT_NAME is defined.
3712 Patches by Michael Keezer <mkeezer@redhat.com>.
3714 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3715 Patch by Michael Keezer <mkeezer@redhat.com>.
3717 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3718 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3719 (sysdep_routines): Remove restf.S and savef.S.
3720 * sysdeps/unix/sysv/aix/restf.S. Removed.
3721 * sysdeps/unix/sysv/aix/savef.S. Removed.
3722 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
3723 alternative names used on some platforms.
3724 * sysdeps/powerpc/fprsave.S: Likewise.
3725 * sysdeps/powerpc/gprrest0.S: Likewise.
3726 * sysdeps/powerpc/gprrest1.S: Likewise.
3727 * sysdeps/powerpc/gprsave0.S: Likewise.
3728 * sysdeps/powerpc/gprsave1.S: Likewise.
3729 Patch by Michael Keezer <mkeezer@redhat.com>.
3731 2001-02-22 Ulrich Drepper <drepper@redhat.com>
3733 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3735 2001-02-22 Andreas Jaeger <aj@suse.de>
3737 * string/tst-strtok.c (main): Fix error messages.
3739 2001-02-22 Andreas Jaeger <aj@suse.de>
3741 * math/Makefile: Remove omit-long-double-fcts.
3743 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3745 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3746 avoid problems on MIPS I.
3747 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3749 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3752 2001-02-21 Ulrich Drepper <drepper@redhat.com>
3754 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3756 * sysdeps/generic/ftime.c: Include <time.h>.
3758 * configure.in: Don't check for libgd if user passed --without-gd.
3759 Patch by Achim Gottinger <achim@gentoo.org>.
3761 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3762 first time this happened.
3763 * string/Makefile (tests): Add tst-strtok.
3765 2001-02-21 Andreas Jaeger <aj@suse.de>
3767 * string/tst-strtok.c: New testcase, reported by
3768 Andrew Church <achurch@achurch.org>.
3770 2001-02-20 Ulrich Drepper <drepper@redhat.com>
3772 * libio/iofwide.c: Remove fwide alias.
3774 2001-02-20 Andreas Jaeger <aj@suse.de>
3776 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3778 Reported by Achim Gottinger <achim@gentoo.org>.
3780 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3782 * iconv/tst-iconv1.c (main): Remove debugging code.
3784 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3787 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3789 * sysdeps/generic/e_scalbf.c: Likewise.
3790 * sysdeps/generic/e_scalbl.c: Likewise.
3792 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3793 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3795 (routines): Replace libm_error with libc_libm_error.
3796 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3797 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3799 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3801 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3802 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3804 2001-02-17 H.J. Lu <hjl@gnu.org>
3806 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3807 scratch registers across the system call.
3809 2001-02-19 Andreas Jaeger <aj@suse.de>
3811 * malloc/Makefile (tests): Run mtrace only when perl is available.
3812 Reported by Achim Gottinger <achim@gentoo.org>.
3814 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3816 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3817 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3819 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3820 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3821 * math/libm-test.inc (j1_test): Mark constants as long double.
3822 (jn_test): Likewise.
3823 (y1_test): Likewise.
3824 (yn_test): Likewise.
3826 * libio/iogetline.c: Move return until after last statement.
3828 * localedata/show-ucs-data.c: Don't show < > for better readability.
3830 * sysdeps/ia64/fpu/Dist: New file.
3831 * sysdeps/ia64/fpu/Makefile: New file.
3832 * sysdeps/ia64/fpu/Versions: New file.
3833 * sysdeps/ia64/fpu/e_acos.S: New file.
3834 * sysdeps/ia64/fpu/e_acosf.S: New file.
3835 * sysdeps/ia64/fpu/e_acosl.S: New file.
3836 * sysdeps/ia64/fpu/e_asin.S: New file.
3837 * sysdeps/ia64/fpu/e_asinf.S: New file.
3838 * sysdeps/ia64/fpu/e_asinl.S: New file.
3839 * sysdeps/ia64/fpu/e_atan2.S: New file.
3840 * sysdeps/ia64/fpu/e_atan2f.S: New file.
3841 * sysdeps/ia64/fpu/e_atan2l.c: New file.
3842 * sysdeps/ia64/fpu/e_cosh.S: New file.
3843 * sysdeps/ia64/fpu/e_coshf.S: New file.
3844 * sysdeps/ia64/fpu/e_coshl.S: New file.
3845 * sysdeps/ia64/fpu/e_exp.S: New file.
3846 * sysdeps/ia64/fpu/e_expf.S: New file.
3847 * sysdeps/ia64/fpu/e_expl.c: New file.
3848 * sysdeps/ia64/fpu/e_fmod.S: New file.
3849 * sysdeps/ia64/fpu/e_fmodf.S: New file.
3850 * sysdeps/ia64/fpu/e_fmodl.S: New file.
3851 * sysdeps/ia64/fpu/e_hypot.S: New file.
3852 * sysdeps/ia64/fpu/e_hypotf.S: New file.
3853 * sysdeps/ia64/fpu/e_hypotl.S: New file.
3854 * sysdeps/ia64/fpu/e_log.S: New file.
3855 * sysdeps/ia64/fpu/e_log10.c: New file.
3856 * sysdeps/ia64/fpu/e_log10f.c: New file.
3857 * sysdeps/ia64/fpu/e_log10l.c: New file.
3858 * sysdeps/ia64/fpu/e_logf.S: New file.
3859 * sysdeps/ia64/fpu/e_logl.c: New file.
3860 * sysdeps/ia64/fpu/e_pow.S: New file.
3861 * sysdeps/ia64/fpu/e_powf.S: New file.
3862 * sysdeps/ia64/fpu/e_powl.S: New file.
3863 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3864 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3865 * sysdeps/ia64/fpu/e_remainder.S: New file.
3866 * sysdeps/ia64/fpu/e_remainderf.S: New file.
3867 * sysdeps/ia64/fpu/e_remainderl.S: New file.
3868 * sysdeps/ia64/fpu/e_scalb.S: New file.
3869 * sysdeps/ia64/fpu/e_scalbf.S: New file.
3870 * sysdeps/ia64/fpu/e_scalbl.S: New file.
3871 * sysdeps/ia64/fpu/e_sinh.S: New file.
3872 * sysdeps/ia64/fpu/e_sinhf.S: New file.
3873 * sysdeps/ia64/fpu/e_sinhl.S: New file.
3874 * sysdeps/ia64/fpu/e_sqrt.S: New file.
3875 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3876 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3877 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3878 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3879 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3880 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3881 * sysdeps/ia64/fpu/libm_error.c: New file.
3882 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3883 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3884 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3885 * sysdeps/ia64/fpu/libm_reduce.S: New file.
3886 * sysdeps/ia64/fpu/libm_support.h: New file.
3887 * sysdeps/ia64/fpu/libm_tan.S: New file.
3888 * sysdeps/ia64/fpu/s_atan.S: New file.
3889 * sysdeps/ia64/fpu/s_atanf.S: New file.
3890 * sysdeps/ia64/fpu/s_atanl.S: New file.
3891 * sysdeps/ia64/fpu/s_cbrt.S: New file.
3892 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3893 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3894 * sysdeps/ia64/fpu/s_ceil.S: New file.
3895 * sysdeps/ia64/fpu/s_ceilf.S: New file.
3896 * sysdeps/ia64/fpu/s_ceill.S: New file.
3897 * sysdeps/ia64/fpu/s_cos.S: New file.
3898 * sysdeps/ia64/fpu/s_cosf.S: New file.
3899 * sysdeps/ia64/fpu/s_cosl.S: New file.
3900 * sysdeps/ia64/fpu/s_expm1.S: New file.
3901 * sysdeps/ia64/fpu/s_expm1f.S: New file.
3902 * sysdeps/ia64/fpu/s_expm1l.S: New file.
3903 * sysdeps/ia64/fpu/s_floor.S: New file.
3904 * sysdeps/ia64/fpu/s_floorf.S: New file.
3905 * sysdeps/ia64/fpu/s_floorl.S: New file.
3906 * sysdeps/ia64/fpu/s_frexp.c: New file.
3907 * sysdeps/ia64/fpu/s_frexpf.c: New file.
3908 * sysdeps/ia64/fpu/s_frexpl.c: New file.
3909 * sysdeps/ia64/fpu/s_ilogb.S: New file.
3910 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3911 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3912 * sysdeps/ia64/fpu/s_ldexp.S: New file.
3913 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3914 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3915 * sysdeps/ia64/fpu/s_log1p.S: New file.
3916 * sysdeps/ia64/fpu/s_log1pf.S: New file.
3917 * sysdeps/ia64/fpu/s_log1pl.S: New file.
3918 * sysdeps/ia64/fpu/s_logb.S: New file.
3919 * sysdeps/ia64/fpu/s_logbf.S: New file.
3920 * sysdeps/ia64/fpu/s_logbl.S: New file.
3921 * sysdeps/ia64/fpu/s_matherrf.c: New file.
3922 * sysdeps/ia64/fpu/s_matherrl.c: New file.
3923 * sysdeps/ia64/fpu/s_modf.S: New file.
3924 * sysdeps/ia64/fpu/s_modff.S: New file.
3925 * sysdeps/ia64/fpu/s_modfl.S: New file.
3926 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3927 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3928 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3929 * sysdeps/ia64/fpu/s_rint.S: New file.
3930 * sysdeps/ia64/fpu/s_rintf.S: New file.
3931 * sysdeps/ia64/fpu/s_rintl.S: New file.
3932 * sysdeps/ia64/fpu/s_round.S: New file.
3933 * sysdeps/ia64/fpu/s_roundf.S: New file.
3934 * sysdeps/ia64/fpu/s_roundl.S: New file.
3935 * sysdeps/ia64/fpu/s_scalbn.S: New file.
3936 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3937 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3938 * sysdeps/ia64/fpu/s_significand.S: New file.
3939 * sysdeps/ia64/fpu/s_significandf.S: New file.
3940 * sysdeps/ia64/fpu/s_significandl.S: New file.
3941 * sysdeps/ia64/fpu/s_sin.c: New file.
3942 * sysdeps/ia64/fpu/s_sincos.c: New file.
3943 * sysdeps/ia64/fpu/s_sincosf.c: New file.
3944 * sysdeps/ia64/fpu/s_sincosl.c: New file.
3945 * sysdeps/ia64/fpu/s_sinf.c: New file.
3946 * sysdeps/ia64/fpu/s_sinl.c: New file.
3947 * sysdeps/ia64/fpu/s_tan.S: New file.
3948 * sysdeps/ia64/fpu/s_tanf.S: New file.
3949 * sysdeps/ia64/fpu/s_tanl.S: New file.
3950 * sysdeps/ia64/fpu/s_trunc.S: New file.
3951 * sysdeps/ia64/fpu/s_truncf.S: New file.
3952 * sysdeps/ia64/fpu/s_truncl.S: New file.
3953 * sysdeps/ia64/fpu/w_acos.c: New file.
3954 * sysdeps/ia64/fpu/w_acosf.c: New file.
3955 * sysdeps/ia64/fpu/w_acosl.c: New file.
3956 * sysdeps/ia64/fpu/w_asin.c: New file.
3957 * sysdeps/ia64/fpu/w_asinf.c: New file.
3958 * sysdeps/ia64/fpu/w_asinl.c: New file.
3959 * sysdeps/ia64/fpu/w_atan2.c: New file.
3960 * sysdeps/ia64/fpu/w_atan2f.c: New file.
3961 * sysdeps/ia64/fpu/w_atan2l.c: New file.
3962 * sysdeps/ia64/fpu/w_cosh.c: New file.
3963 * sysdeps/ia64/fpu/w_coshf.c: New file.
3964 * sysdeps/ia64/fpu/w_coshl.c: New file.
3965 * sysdeps/ia64/fpu/w_exp.c: New file.
3966 * sysdeps/ia64/fpu/w_expf.c: New file.
3967 * sysdeps/ia64/fpu/w_fmod.c: New file.
3968 * sysdeps/ia64/fpu/w_fmodf.c: New file.
3969 * sysdeps/ia64/fpu/w_fmodl.c: New file.
3970 * sysdeps/ia64/fpu/w_hypot.c: New file.
3971 * sysdeps/ia64/fpu/w_hypotf.c: New file.
3972 * sysdeps/ia64/fpu/w_hypotl.c: New file.
3973 * sysdeps/ia64/fpu/w_log.c: New file.
3974 * sysdeps/ia64/fpu/w_log10.c: New file.
3975 * sysdeps/ia64/fpu/w_log10f.c: New file.
3976 * sysdeps/ia64/fpu/w_log10l.c: New file.
3977 * sysdeps/ia64/fpu/w_logf.c: New file.
3978 * sysdeps/ia64/fpu/w_logl.c: New file.
3979 * sysdeps/ia64/fpu/w_pow.c: New file.
3980 * sysdeps/ia64/fpu/w_powf.c: New file.
3981 * sysdeps/ia64/fpu/w_powl.c: New file.
3982 * sysdeps/ia64/fpu/w_remainder.c: New file.
3983 * sysdeps/ia64/fpu/w_remainderf.c: New file.
3984 * sysdeps/ia64/fpu/w_remainderl.c: New file.
3985 * sysdeps/ia64/fpu/w_scalb.c: New file.
3986 * sysdeps/ia64/fpu/w_scalbf.c: New file.
3987 * sysdeps/ia64/fpu/w_scalbl.c: New file.
3988 * sysdeps/ia64/fpu/w_sqrt.c: New file.
3989 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3990 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3991 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3993 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3994 Change FP_ILOGBNAN for new implementation.
3995 * Verions.def: Add 2.2.3 versions.
3997 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3999 * math/libm-test.inc (scalb_test): Require invalid exception being
4000 raised for invalid parameters.
4001 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
4002 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4003 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4005 2001-02-18 Mark Kettenis <kettenis@gnu.org>
4007 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
4009 (__get_avphys_pages): Likewise.
4011 2001-02-18 Ulrich Drepper <drepper@redhat.com>
4013 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
4014 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
4015 * sysdeps/i386/fpu/e_powf.S: Likewise.
4016 * sysdeps/i386/fpu/e_powl.S: Likewise.
4018 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
4020 2001-02-17 Ulrich Drepper <drepper@redhat.com>
4022 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
4024 * sysdeps/generic/s_exp2l.c: Renamed to...
4025 * sysdeps/generic/e_exp2l.c: ...this. New file.
4026 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
4027 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
4028 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
4029 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
4030 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
4031 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
4032 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
4033 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
4034 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
4035 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
4036 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
4037 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
4038 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
4039 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
4040 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
4041 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
4043 2001-02-17 Andreas Jaeger <aj@suse.de>
4045 * configure.in: Allow gcc 3.
4047 2001-02-16 Ulrich Drepper <drepper@redhat.com>
4049 * math/w_acos.c: Move to ...
4050 * sysdeps/generic/w_acos.c: ...here. New file.
4051 * math/w_acosf.c: Move to ...
4052 * sysdeps/generic/w_acosf.c: ...here. New file.
4053 * math/w_acosh.c: Move to ...
4054 * sysdeps/generic/w_acosh.c: ...here. New file.
4055 * math/w_acoshf.c: Move to ...
4056 * sysdeps/generic/w_acoshf.c: ...here. New file.
4057 * math/w_acoshl.c: Move to ...
4058 * sysdeps/generic/w_acoshl.c: ...here. New file.
4059 * math/w_acosl.c: Move to ...
4060 * sysdeps/generic/w_acosl.c: ...here. New file.
4061 * math/w_asin.c: Move to ...
4062 * sysdeps/generic/w_asin.c: ...here. New file.
4063 * math/w_asinf.c: Move to ...
4064 * sysdeps/generic/w_asinf.c: ...here. New file.
4065 * math/w_asinl.c: Move to ...
4066 * sysdeps/generic/w_asinl.c: ...here. New file.
4067 * math/w_atan2.c: Move to ...
4068 * sysdeps/generic/w_atan2.c: ...here. New file.
4069 * math/w_atan2f.c: Move to ...
4070 * sysdeps/generic/w_atan2f.c: ...here. New file.
4071 * math/w_atan2l.c: Move to ...
4072 * sysdeps/generic/w_atan2l.c: ...here. New file.
4073 * math/w_atanh.c: Move to ...
4074 * sysdeps/generic/w_atanh.c: ...here. New file.
4075 * math/w_atanhf.c: Move to ...
4076 * sysdeps/generic/w_atanhf.c: ...here. New file.
4077 * math/w_atanhl.c: Move to ...
4078 * sysdeps/generic/w_atanhl.c: ...here. New file.
4079 * math/w_cosh.c: Move to ...
4080 * sysdeps/generic/w_cosh.c: ...here. New file.
4081 * math/w_coshf.c: Move to ...
4082 * sysdeps/generic/w_coshf.c: ...here. New file.
4083 * math/w_coshl.c: Move to ...
4084 * sysdeps/generic/w_coshl.c: ...here. New file.
4085 * math/w_drem.c: Move to ...
4086 * sysdeps/generic/w_drem.c: ...here. New file.
4087 * math/w_dremf.c: Move to ...
4088 * sysdeps/generic/w_dremf.c: ...here. New file.
4089 * math/w_dreml.c: Move to ...
4090 * sysdeps/generic/w_dreml.c: ...here. New file.
4091 * math/w_exp10.c: Move to ...
4092 * sysdeps/generic/w_exp10.c: ...here. New file.
4093 * math/w_exp10f.c: Move to ...
4094 * sysdeps/generic/w_exp10f.c: ...here. New file.
4095 * math/w_exp10l.c: Move to ...
4096 * sysdeps/generic/w_exp10l.c: ...here. New file.
4097 * math/w_exp2.c: Move to ...
4098 * sysdeps/generic/w_exp2.c: ...here. New file.
4099 * math/w_exp2f.c: Move to ...
4100 * sysdeps/generic/w_exp2f.c: ...here. New file.
4101 * math/w_exp2l.c: Move to ...
4102 * sysdeps/generic/w_exp2l.c: ...here. New file.
4103 * math/w_fmod.c: Move to ...
4104 * sysdeps/generic/w_fmod.c: ...here. New file.
4105 * math/w_fmodf.c: Move to ...
4106 * sysdeps/generic/w_fmodf.c: ...here. New file.
4107 * math/w_fmodl.c: Move to ...
4108 * sysdeps/generic/w_fmodl.c: ...here. New file.
4109 * math/w_hypot.c: Move to ...
4110 * sysdeps/generic/w_hypot.c: ...here. New file.
4111 * math/w_hypotf.c: Move to ...
4112 * sysdeps/generic/w_hypotf.c: ...here. New file.
4113 * math/w_hypotl.c: Move to ...
4114 * sysdeps/generic/w_hypotl.c: ...here. New file.
4115 * math/w_j0.c: Move to ...
4116 * sysdeps/generic/w_j0.c: ...here. New file.
4117 * math/w_j0f.c: Move to ...
4118 * sysdeps/generic/w_j0f.c: ...here. New file.
4119 * math/w_j0l.c: Move to ...
4120 * sysdeps/generic/w_j0l.c: ...here. New file.
4121 * math/w_j1.c: Move to ...
4122 * sysdeps/generic/w_j1.c: ...here. New file.
4123 * math/w_j1f.c: Move to ...
4124 * sysdeps/generic/w_j1f.c: ...here. New file.
4125 * math/w_j1l.c: Move to ...
4126 * sysdeps/generic/w_j1l.c: ...here. New file.
4127 * math/w_jn.c: Move to ...
4128 * sysdeps/generic/w_jn.c: ...here. New file.
4129 * math/w_jnf.c: Move to ...
4130 * sysdeps/generic/w_jnf.c: ...here. New file.
4131 * math/w_jnl.c: Move to ...
4132 * sysdeps/generic/w_jnl.c: ...here. New file.
4133 * math/w_lgamma.c: Move to ...
4134 * sysdeps/generic/w_lgamma.c: ...here. New file.
4135 * math/w_lgammaf.c: Move to ...
4136 * sysdeps/generic/w_lgammaf.c: ...here. New file.
4137 * math/w_lgammaf_r.c: Move to ...
4138 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
4139 * math/w_lgammal.c: Move to ...
4140 * sysdeps/generic/w_lgammal.c: ...here. New file.
4141 * math/w_lgammal_r.c: Move to ...
4142 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
4143 * math/w_lgamma_r.c: Move to ...
4144 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
4145 * math/w_log10.c: Move to ...
4146 * sysdeps/generic/w_log10.c: ...here. New file.
4147 * math/w_log10f.c: Move to ...
4148 * sysdeps/generic/w_log10f.c: ...here. New file.
4149 * math/w_log10l.c: Move to ...
4150 * sysdeps/generic/w_log10l.c: ...here. New file.
4151 * math/w_log.c: Move to ...
4152 * sysdeps/generic/w_log.c: ...here. New file.
4153 * math/w_logf.c: Move to ...
4154 * sysdeps/generic/w_logf.c: ...here. New file.
4155 * math/w_logl.c: Move to ...
4156 * sysdeps/generic/w_logl.c: ...here. New file.
4157 * math/w_pow.c: Move to ...
4158 * sysdeps/generic/w_pow.c: ...here. New file.
4159 * math/w_powf.c: Move to ...
4160 * sysdeps/generic/w_powf.c: ...here. New file.
4161 * math/w_powl.c: Move to ...
4162 * sysdeps/generic/w_powl.c: ...here. New file.
4163 * math/w_remainder.c: Move to ...
4164 * sysdeps/generic/w_remainder.c: ...here. New file.
4165 * math/w_remainderf.c: Move to ...
4166 * sysdeps/generic/w_remainderf.c: ...here. New file.
4167 * math/w_remainderl.c: Move to ...
4168 * sysdeps/generic/w_remainderl.c: ...here. New file.
4169 * math/w_scalb.c: Move to ...
4170 * sysdeps/generic/w_scalb.c: ...here. New file.
4171 * math/w_scalbf.c: Move to ...
4172 * sysdeps/generic/w_scalbf.c: ...here. New file.
4173 * math/w_scalbl.c: Move to ...
4174 * sysdeps/generic/w_scalbl.c: ...here. New file.
4175 * math/w_sinh.c: Move to ...
4176 * sysdeps/generic/w_sinh.c: ...here. New file.
4177 * math/w_sinhf.c: Move to ...
4178 * sysdeps/generic/w_sinhf.c: ...here. New file.
4179 * math/w_sinhl.c: Move to ...
4180 * sysdeps/generic/w_sinhl.c: ...here. New file.
4181 * math/w_sqrtl.c: Move to ...
4182 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4183 * math/w_tgamma.c: Move to ...
4184 * sysdeps/generic/w_tgamma.c: ...here. New file.
4185 * math/w_tgammaf.c: Move to ...
4186 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4187 * math/w_tgammal.c: Move to ...
4188 * sysdeps/generic/w_tgammal.c: ...here. New file.
4190 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4191 formats for postal_fmt.
4193 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4195 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4196 __ftruncate64 alias.
4197 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4200 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4202 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4203 do "loadrs". Writing to bspstore already takes care of
4204 invalidating the "clean" partition.
4206 2001-02-16 Andreas Schwab <schwab@suse.de>
4208 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4209 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4211 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4213 * posix/regex.c (init_syntax_once): Add prototype.
4214 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4215 (re_search_2): Avoid warning.
4216 (count_mbs_length): Add prototype.
4217 * posix/tst-regex3.c: New file.
4218 * posix/Makefile (tests): Add bug-regex3.
4220 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4222 * stdio-common/Makefile (tests): Add tst-gets.
4223 * stdio-common/tst-gets.c: New file.
4224 * stdio-common/tst-gets.input: New file.
4226 * elf/elf.h (DT_CHECKSUM): Define.
4228 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4230 * sysdeps/generic/strtoull.c: Likewise.
4232 2001-02-14 Wolfram Gloger <wg@malloc.de>
4234 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4235 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4238 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4240 * math/libm-test.inc (j0_test): Check whether sincos is available.
4241 (j1_test): Likewise.
4242 (jn_test): Likewise.
4243 (y0_test): Likewise.
4244 (y1_test): Likewise.
4245 (yn_test): Likewise.
4247 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4248 fake filesystem routines to handle this.
4250 * time/sys/time.h: Make settimeofday and adjtime available if
4253 * time/sys/time.h: Make timer* macros available for BSD.
4255 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4256 Patch by Yong Li <rigel863@yahoo.com>.
4258 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4261 * posix/Makefile (tests): Add tst-gnuglob.
4262 * posix/tst-gnuglob.c: New file.
4264 2001-02-13 H.J. Lu <hjl@gnu.org>
4266 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4268 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4270 * locale/programs/ld-paper.c (paper_output): Pretty printing.
4272 * iconvdata/Makefile (modules): Add GBBIG5.
4273 (distribute): Add gbbig5.c.
4274 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4276 * iconvdata/gbbig5.c: New file.
4277 Contributed by Yong Li <rigel863@yahoo.com>.
4279 2001-02-13 Philip Blundell <pb@futuretv.com>
4281 * manual/crypt.texi: Remove outdated references to crypt add-on.
4283 * manual/creature.texi: Improve wording slightly.
4285 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4287 * io/ftw.c: Always use readdir64.
4288 * io/ftw64.c: Likewise.
4289 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4290 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4291 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
4292 callback to dirent. Still allow compiling outside glibc.
4293 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4294 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4296 * malloc/mtrace.c: Use fopen64.
4297 * posix/spawni.c: Use __open64.
4298 * sysdeps/unix/opendir.c: Likewise.
4299 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4301 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4303 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4304 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4308 * resolv/res_data.c: Add cast to avoid warning.
4310 * include/unistd.h: Declare __ftruncate64.
4312 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4314 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4317 2001-02-13 Andreas Jaeger <aj@suse.de>
4319 * login/getutent_r.c: Include <stdlib.h> for NULL.
4320 * login/getutid_r.c: Likewise.
4322 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4324 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4325 * sysdeps/dbl-64/e_j1.c: Likewise.
4326 * sysdeps/dbl-64/e_jn.c: Likewise.
4327 * sysdeps/flt-32/e_j0f.c: Likewise.
4328 * sysdeps/flt-32/e_j1f.c: Likewise.
4329 * sysdeps/ldbl-96/e_j0l.c: Likewise.
4331 2000-12-02 H.J. Lu <hjl@gnu.org>
4333 * resolv/res_libc.c (res_init): Don't make it default.
4335 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4337 * manual/debug.texi: Improved the wording.
4338 Patch by Philip Blundell <pb@futuretv.com>.
4340 2001-02-12 Andreas Jaeger <aj@suse.de>
4342 * posix/Makefile (tests): Don't run bug-regex2 when
4345 * libio/Makefile (tests): Don't run test-freopen when
4348 * manual/stdio.texi (Streams and I18N): Fix typos.
4350 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4352 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4354 * math/libm-test.inc (j0_test): Make expected results long double
4356 (y0_test): Likewise.
4358 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4359 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4361 2001-02-11 Jakub Jelinek <jakub@redhat.com>
4363 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4364 which was exported from libc.
4365 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4367 2001-02-12 Andreas Jaeger <aj@suse.de>
4369 * manual/arith.texi (Parsing of Integers): Fix some wordings.
4371 2001-02-11 Ulrich Drepper <drepper@redhat.com>
4373 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4374 and get_avphys_page to long int.
4375 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4376 * include/sys/sysinfo.h: Likewise.
4377 * sysdeps/generic/sys/sysinfo.h: Likewise.
4378 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4380 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4381 cannot return as many values as the user asked for.
4383 2001-02-11 Andreas Jaeger <aj@suse.de>
4385 * manual/resource.texi (Memory Resources): Fix typo.
4387 * libio/Makefile ($(objpfx)test-freopen.out): Pass
4390 * libio/test-freopen.sh: Use run_program_prefix.
4392 2001-02-10 Andreas Jaeger <aj@suse.de>
4394 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4396 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4398 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4401 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4403 * posix/Makefile: Fix typo, it's build-static-nss.
4405 * iconv/Makefile (extra-objs): New.
4407 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4409 * sysdeps/unix/stime.c: Include <time.h>.
4411 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4413 2001-02-10 Andreas Jaeger <aj@suse.de>
4415 * manual/string.texi (Search Functions): Fix typo.
4417 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4419 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4420 (timeval_to_clock_t): Add clk_tck argument and use that instead of
4422 (__times): Use __getclktck to get the number of clock ticks per
4423 second and use its return value instead of CLK_TCK.
4425 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4427 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4429 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4431 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4433 2001-02-10 Andreas Jaeger <aj@suse.de>
4435 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4438 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4440 * posix/Makefile: Add rules to build and run bug-regex2.
4441 * posix/bug-regex2.c: New file.
4443 2001-02-10 Jakub Jelinek <jakub@redhat.com>
4445 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4446 (regex_compile): Likewise.
4447 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4448 (re_match_2_internal): Use just is_binary instead of two variables.
4449 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4451 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4453 * version.h (VERSION): Bump to 2.2.2.
4455 * iconv/Makefile (distribute): Add iconv_charmap.c and
4457 * elf/Makefile (distribute): Add firstobj.c.
4458 * Makefile (distribute): Add include/pthread.h.
4460 * configure.in: Require makeinfo version 4.
4462 * libio/tst_wscanf.c (main): Add cast to avoid warning.
4463 * libio/tst_swscanf.c (main): Likewise..
4465 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4467 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4468 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4471 if not RTLD_BOOTSTRAP.
4472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4475 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4477 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
4478 lr_ungetc to push back last read character.
4479 * locale/programs/linereader.h (lr_ungetc): Don't push back is
4481 (lr_ignore_rest): Don't warn about garbage if it is really the end
4484 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4487 2001-02-08 Ulrich Drepper <drepper@redhat.com>
4489 * Makerules (build-shlib): Work around different order of
4490 processing of -B option in different gcc versions.
4492 * posix/regex.c: Fix alignment problem.
4493 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4495 * sysdeps/alpha/strrchr.S: Little optimization.
4496 Patch by Richard Henderson <rth@redhat.com>.
4498 * sysdeps/alpha/alphaev67/strrchr.S: New file.
4499 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4501 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
4503 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4504 in the assembler end directive.
4506 2001-02-08 Andreas Jaeger <aj@suse.de>
4508 * manual/stdio.texi (Closing Streams): Fix typos.
4510 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4512 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4513 Patch by Richard Henderson <rth@redhat.com>.
4514 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4516 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4517 pointer in FILE structure before calling _IO_init.
4518 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4519 strfmon_l if necessary.
4520 Reported by Jury Gerold <gjury@grips.com>.
4522 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4523 Patch by Pekka.Pietikainen@cern.ch.
4525 * posix/regex.c: Correct several problems with 64-bit architectures
4526 introduced in the MBS changes.
4527 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4529 2001-02-07 Jakub Jelinek <jakub@redhat.com>
4531 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4533 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4535 2001-02-07 Andreas Jaeger <aj@suse.de>
4537 * manual/install.texi (Tools for Compilation): Fix typo.
4538 Reported by Pavel Machek <pavel@bug.ucw.cz>.
4540 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4542 * stdlib/strtod.c: Never stop prematurely reading digits before the
4543 decimal point is found. Compute exponent limit for negative exponents
4544 correctly. For numbers ending in all zeros eat the zeros even before
4545 the decimal point if the exponent is negative [PR libc/2072].
4546 * stdlib/Makefile (tests): Add bug-strtod.
4547 * stdlib/bug-strtod.c: New file.
4549 2001-02-07 Andreas Jaeger <aj@suse.de>
4551 * posix/bug-regex1.c: Include <wchar.h> for fwide.
4553 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4555 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4557 (compile_range): Handle index being passed, not pointer.
4558 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4560 * posix/regex.c: Fix a cast in the code for bracket handling which
4561 caused 8-bit uncleanliness.
4562 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4564 * posix/Makefile (tests): Add bug-regex1.
4565 * posix/bug-regex1.c: New file.
4566 Contributed by Jim Meyering <jim@meyering.net>.
4568 * posix/regex.c: Many cleanups for incorrect format strings.
4570 2001-02-06 Andreas Jaeger <aj@suse.de>
4572 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4574 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4576 * locale/programs/locale.c (write_locales): Use scandir to read
4577 directory so that the entries are sorted.
4579 2001-02-06 Andreas Jaeger <aj@suse.de>
4581 * include/pthread.h: New file.
4583 * wctype/wctype.h: Move internal interfaces from here to...
4584 * include/wctype.h: ...here.
4586 * wcsmbs/wchar.h: Move __wcslen from here to...
4587 * include/wchar.h: ...here.
4589 * posix/sys/wait.h: Move __wait from here to...
4590 * include/sys/wait.h: ...here.
4592 * string/string.h: Move __ffs and __strerror_r from here to...
4593 * include/string.h: ...here.
4595 * stdlib/stdlib.h: Move __on_exit from here to...
4596 * include/stdlib.h: ...here.
4598 * libio/stdio.h: Move __vsnprintf from here to...
4599 * include/stdio.h: ...here.
4601 2001-02-06 Andreas Schwab <schwab@suse.de>
4603 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4606 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4609 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4611 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4613 2001-02-06 Andreas Jaeger <aj@suse.de>
4615 * elf/firstobj.c: Add prototype.
4617 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4618 (truncate_wchar): Likewise.
4620 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4622 * locale/programs/locale.c: Implement --verbose option for -a
4623 which prints detailed information about the locales.
4625 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4627 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4628 variable to uint32_t.
4629 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4631 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4633 * locale/C-translit.h.in: Add transliterations for CJK units of
4636 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4638 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4639 string. Include <inttypes.h> instead of <stdint.h>.
4641 * localedata/Makefile (tests): Add bug-iconv-trans.
4642 Define bug-iconv-trans-ENV.
4643 * localedata/bug-iconv-trans.c: New file.
4645 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4647 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4648 pointer, to avoid accumulating output from incomplete (unsuccessful)
4649 transliteration attempts.
4651 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4653 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4654 string. Include <inttypes.h> instead of <stdint.h>.
4656 * configure.in: Add check for bison.
4657 * config.make.in: Define BISON variable.
4658 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4659 Rename YFLAGS to BISONFLAGS.
4661 2001-02-05 Andreas Jaeger <aj@suse.de>
4663 * io/test-lfs.c (do_test): Test lseek64 return value, call
4665 (test_ftello): New function to test ftello64 and fseeko64.
4667 * signal/signal.h: Move __sigaction from here to...
4668 * include/signal.h: ...here.
4670 * io/fcntl.h: Move __fcntl and __open to...
4671 * include/fcntl.h: ...here.
4673 2001-02-04 Philip Blundell <philb@gnu.org>
4675 * configure.in: Distinguish ARM from Thumb.
4677 2001-02-04 Philip Blundell <philb@gnu.org>
4679 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4680 PC24 relocs with negative value.
4682 2001-02-04 Ulrich Drepper <drepper@redhat.com>
4684 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
4685 files in locale/programs. Add CFLAGS definition to allow compiling
4687 * iconv/dummy-repertoire.c: New file.
4688 * iconv/iconv_charmap.c: New file.
4689 * iconv/iconv_prog.h: New file.
4690 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4691 (main): If parameter for -f and -t contain slashes try first to resolve
4692 the strings as filenames of charmap files. Use them for conversion
4694 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4695 iconv getting charmap names as parameters.
4696 * locale/programs/linereader.c (lr_token): Take extra parameters
4697 verbose and pass it to get_string.
4698 (get_string): Take extra parameters verbose.
4699 * locale/programs/charmap.c (parse_charmap): Take extra parameters
4700 verbose and be_quiet. Change all callers of lr_token and
4702 * locale/programs/charmap.h: Likewise.
4703 * locale/programs/ld-address.c: Likewise.
4704 * locale/programs/ld-collate.c: Likewise.
4705 * locale/programs/ld-ctype.c: Likewise.
4706 * locale/programs/ld-identification.c: Likewise.
4707 * locale/programs/ld-measurement.c: Likewise.
4708 * locale/programs/ld-messages.c: Likewise.
4709 * locale/programs/ld-monetary.c: Likewise.
4710 * locale/programs/ld-name.c: Likewise.
4711 * locale/programs/ld-numeric.c: Likewise.
4712 * locale/programs/ld-paper.c: Likewise.
4713 * locale/programs/ld-telephone.c: Likewise.
4714 * locale/programs/ld-time.c: Likewise.
4715 * locale/programs/linereader.c: Likewise.
4716 * locale/programs/linereader.h: Likewise.
4717 * locale/programs/localedef.c: Likewise.
4718 * locale/programs/locfile.c: Likewise.
4719 * locale/programs/locfile.h: Likewise.
4720 * locale/programs/repertoire.c: Likewise.
4722 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4724 * iconv/iconv_prog.c (main): If output file name is "-" write to
4726 (main): If -f or -t argument is missing use charset of the current
4729 2001-02-03 Andreas Jaeger <aj@suse.de>
4731 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4732 boundary for SSE/SSE-2 alignment.
4734 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4737 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4739 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4740 Remove comma at end of enum.
4742 * elf/dl-init.c: Add a few __builtin_expect.
4744 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
4746 2001-02-02 Ulrich Drepper <drepper@redhat.com>
4748 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4749 errno is ECONNREFUSED.
4751 * posix/Makefile: Define MBS_SUPPORT for regex.c.
4752 * posix/regex.c: Implement multibyte character handling.
4753 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4755 * string/tst-svc.input: Add two more test cases.
4756 * string/tst-svc.expect: Modify to reflect new test cases.
4758 2001-02-01 Jakub Jelinek <jakub@redhat.com>
4760 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4761 tp->name tests with tp->name[0] tests.
4763 2001-01-29 Ben Collins <bcollins@debian.org>
4765 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4766 Fix check for name == NULL.
4768 2001-02-01 Ulrich Drepper <drepper@redhat.com>
4770 * elf/Makefile: Add rules to build and run initfirst test.
4771 * elf/initfirst.c: New file.
4772 * elf/firstobj.c: New file.
4774 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4775 * configure.in: Test for -z initfirst linker option.
4776 * config.make.in: Add have-z-initfirst.
4777 * elf/dl-init.c (_dl_init): Split out actual initialization code in
4778 new function call_init. If _dl_initfirst is non-NULL initialize first.
4779 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4780 remember object in _dl_initfirst.
4781 * elf/soinit.c: Remove special support for calling
4782 __pthread_initialize_minimal.
4784 * conform/conformtest.pl: Add missing $prepend in type test.
4786 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4788 * elf/elf.h (SHT_CHECKSUM): New definition.
4790 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4791 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4792 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4794 2001-01-31 Mark Kettenis <kettenis@gnu.org>
4796 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4797 to get definition of `struct timeval'.
4799 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4801 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4802 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4804 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4806 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4809 * nis/nis_findserv.c: Include <time.h>.
4811 2001-01-30 Yong Li <yong.li@asu.edu>
4813 * iconv/iconv_prog.c (main): Correct error handling method name.
4815 2001-01-29 Ben Collins <bcollins@debian.org>
4817 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4818 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4819 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4820 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4822 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4824 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4825 Patch by Marko Myllynen <myllynen@lut.fi>.
4827 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4828 (int instead of char).
4829 (__strpbrk_c3): Likewise.
4830 Reported by GOTO Masanori <gotom@debian.or.jp>.
4832 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4833 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4834 * include/sys/socket.h: Add SA_LEN here for internal use.
4835 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4837 2001-01-29 Ulrich Drepper <drepper@redhat.com>
4839 * malloc/Makefile: Don't build memusagestat if cross-compiling.
4841 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4843 * math/libm-test.inc (rint_test): Add a few more tests for round
4846 2001-01-28 Ulrich Drepper <drepper@redhat.com>
4848 * conform/data/pthread.h-data: Correct return type of pthread_exit.
4850 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4852 * conform/data/stdlib.h-data: Add _Exit.
4854 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
4855 if not already happened.
4856 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4857 Don't include <limits.h> and <bits/sockaddr.h>.
4859 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4861 * conform/data/spawn.h-data: Allow all of <sched.h>.
4863 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
4866 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4867 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4871 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4872 * libio/stdio.h: Define va_list correctly.
4874 * conform/data/pthread.h-data: Make priority protocol related
4875 functions optional. Fix typos.
4877 * posix/sched.h: Define sched_priority as __sched_priority.
4878 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4879 to __sched_priority.
4880 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4882 2001-01-27 Ulrich Drepper <drepper@redhat.com>
4884 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4887 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4888 * sysdeps/unix/time.c: Likewise.
4890 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
4891 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4892 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4893 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4894 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4895 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4896 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4897 * time/time.h: Likewise.
4899 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4900 * conform/data/complex.h-data: New file.
4901 * conform/data/tgmath.h-data: New file.
4903 * conform/data/wchar.h-data: Add missing functions.
4905 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4907 * conform/data/termios.h-data: Add missing const in tcsetattr()
4910 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4911 Don't define pid_t here.
4913 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4915 * conform/data/sys/time.h-data: Allow sys/select.h.
4916 * conform/data/sys/un.h-data: Fix typo.
4917 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4918 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4920 * sysdeps/unix/clock_nanosleep.c: Likewise.
4921 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4922 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4923 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4924 * sysdeps/unix/clock_settime.c: Likewise.
4926 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4927 * login/getutent.c: Likewise.
4928 * login/getutid.c: Likewise.
4929 * login/getutline.c: Likewise.
4931 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4933 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4934 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
4935 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4936 f_fsid field after change in struct statvfs.
4937 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4938 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4939 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4941 * conform/data/sys/stat.h-data: Remove isfdtype. Use
4944 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
4945 recvfrom, send, and socketpair prototypes. Add allow lines.
4946 * socket/sys/socket.h: Include <sys/uio.h>.
4947 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4948 Fix type of second parameter of listen.
4949 Don't declare isfdtype unless __USE_MISC.
4950 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4951 * sysdeps/mach/hurd/listen.c: Likewise.
4952 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4953 ss_family and __ss_family.
4954 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4955 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4956 (struct msghdr): Change type of msg_iovlen to int and type of
4957 msg_controllen to socklen_t.
4958 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4959 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4961 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4962 (rresvport_af): Likewise.
4964 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4965 * conform/conformtest.pl: Implement handling of symbol.
4967 * signal/signal.h: Fix handling of __need_* symbols.
4968 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
4969 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
4970 * include/sys/select.h: Use fd_set not __fd_set.
4971 * sysdeps/generic/bits/select.h: Likewise.
4972 * sysdeps/i386/bits/select.h: Likewise.
4973 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4974 __FDELT, __FDMASK, and __fd_set here.
4975 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4976 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4977 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4978 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4979 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4982 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4983 * time/sys/time.h: Define struct timeval before including <time.h>
4986 * conform/data/sys/time.h-data: fd_set is a typedef.
4987 * conform/data/sys/select.h-data: New file.
4988 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4989 * conform/conformtest.pl (@headers): Add sys/select.h.
4990 (type, optional-type): Unless testing a typedef instantiate object.
4991 Implement optional-function.
4993 * math/test-misc.c: Include <float.h>.
4995 2001-01-27 Andreas Jaeger <aj@suse.de>
4997 * misc/efgcvt_r.c: Include <float.h>.
4999 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5001 * conform/data/stdlib.h-data: Account for XPG6 changes.
5002 * stdlib/stdlib.h (__random): Change return value type to long.
5003 (posix_memalign): Cleanup parameter names.
5004 (setenv, unsetenv): Make available for __USE_XOPEN2K.
5005 Change return type of unsetenv to int.
5006 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
5007 * include/stdlib.h: Change return type of unsetenv to int.
5008 Change return type of random to long int.
5009 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
5010 Return -1 and set errno if parameter is invalid.
5011 * stdlib/random.c (__random): Change return value type to long.
5013 * conform/data/stdio.h-data: Account for changes in XPG6.
5015 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
5018 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
5019 * conform/data/signal.h-data: Fix sigev_notify_function entry.
5020 Fix typo (SIGVALRM -> SIGVTALRM).
5021 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
5023 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
5024 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5025 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
5026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5027 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
5029 * conform/conformtest.pl: Implement optional-element. Define
5030 $mustprepend{"sched.h"}.
5031 * conform/data/sched.h-data: Make sporadic scheduler definitions
5034 * pwd/pwd.h: Don't define getpwent_r for XPG.
5036 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
5037 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
5038 * sysdeps/mach/hurd/poll.c: Likewise.
5039 * sysdeps/unix/bsd/poll.c: Likewise.
5040 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5041 * sysdeps/unix/sysv/aix/poll.c: Likewise.
5042 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
5043 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
5044 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
5045 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
5046 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
5047 * conform/data/poll.h-data: Fix typo in poll prototype.
5049 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
5051 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
5053 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
5055 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
5057 * conform/conformtest.pl: Implement optional-type.
5059 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
5060 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
5061 defining uint32_t here. Define IPPORT_RESERVED.
5062 (struct hostent): Type of h_length element is int.
5063 (getnameinfo): Type of flags parameter is unsigned int.
5064 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
5065 * conform/data/netdb.h-data: Add many missing definitions.
5067 * conform/conformtest.pl: Implement optional-macro.
5068 * conform/data/math.h-data: Update for XPG6.
5070 * math/math.h (HUGE): Define as FLT_MAX value but don't use
5071 FLT_MAX. Don't include <float.h>.
5072 (MAXFLOAT): Likewise.
5074 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
5076 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
5078 * conform/data/limits.h-data: Mark constants as optional wherever
5081 * posix/bits/posix2_lim.h: Set correct values for
5082 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
5085 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
5088 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
5090 * conform/data/netinet/in.h-data: Add reserved prefixes.
5092 * conform/data/arpa/inet.h-data: Fix a few typos.
5094 2001-01-26 Andreas Jaeger <aj@suse.de>
5096 * sysdeps/generic/strtol.c: Include <locale.h>
5097 * stdlib/strtod.c: Likewise
5098 * stdlib/strfmon.c: Likewise.
5099 * string/strcoll.c: Likewise.
5100 * string/strxfrm.c: Likewise.
5101 * wctype/wcfuncs_l.c: Likewise.
5102 * wctype/wctype_l.c: Likewise.
5103 * wctype/wctrans_l.c: Likewise.
5105 * include/bits/locale.h: New file.
5107 2001-01-26 Ulrich Drepper <drepper@redhat.com>
5109 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
5112 * locale/Makefile (headers): Add bits/locale.h.
5113 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
5114 and use __LC_ constants instead of LC_.
5115 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
5116 using __LC_ constants.
5117 * locale/bits/locale.h: New file.
5118 * locale/loadlocale.c: Include <locale.h>.
5119 * locale/nl_langinfo.h: Likewise.
5121 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
5123 * io/sys/stat.h: Define S_IFSOCK for XPG6.
5125 * conform/data/fcntl.h-data: posix_madvise is not expected here.
5127 * conform/conformtest.pl: Fix handling of macro-str.
5129 * conform/data/inttypes.h-data: Add missing definition and all of
5132 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
5134 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5136 * conform/conformtest.pl (@headers): Add stdint.h.
5137 * conform/data/stdint.h-data: New file.
5139 * conform/conformtest.pl: Recognize options --headers and
5140 --dialect. Add dialect-specific CFLAGS.
5142 * conform/conformtest.pl: Implement handling of recursive
5145 * conform/data/locale.h-data: Add new struct lconv members.
5147 * posix/wordexp.h: Correct definition of wordexp_t.
5148 * posix/wordexp.c: Moved to ...
5149 * sysdeps/generic/wordexp.c: ...here. New file.
5150 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
5151 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
5153 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
5155 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
5158 * math/tgmath.h: Pretty printing.
5160 * math/Makefile (tests): Add test-tgmath.
5161 (CFLAGS-test-tgmath.c): New variable.
5162 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
5164 * conform/conformtest.pl: Handle allow-header in secondary headers
5167 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5170 * conform/data/netinet/in.h-data: Use correct comment character.
5171 * conform/data/sys/stat.h-data: Likewise.
5173 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5175 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5176 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5177 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5178 __builtin_classify_type, add ##f suffixes where appropriate.
5179 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5180 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5181 __builtin_classify_type.
5182 (fma): Fix spelling of first argument.
5184 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5186 * conform/data/unistd.h-data: Mark functions removed in XPG6
5189 * posix/unistd.h: Don't make functions removed in XPG6 available if
5192 * conform/conformtest.pl: Implement optional-constant.
5193 * conform/data/unistd.h-data: Use optional-constant wherever
5196 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5197 constants and add _SC_STREAMS.
5198 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5200 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5201 make old name weak alias.
5202 * sysdeps/generic/statvfs64.c: Likewise.
5203 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5204 make old name weak alias.
5205 * sysdeps/generic/fstatvfs64.c: Likewise.
5206 * include/sys/statvfs.h: New file.
5208 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5209 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5211 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5212 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5213 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5214 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5216 * conform/conformtest.pl: Run Unix tests for XPG6.
5217 Implement handling of known namespace violations.
5218 Improve printing of results.
5220 * posix/unistd.h (usleep): Correct return type.
5221 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5222 * sysdeps/unix/bsd/usleep.c: Correct return type.
5223 * sysdeps/mach/usleep.c: Correct return type.
5224 * sysdeps/generic/usleep.c: Correct return type.
5226 * posix/unistd.h (sync): Correct return type.
5227 * sysdeps/generic/sync.c: Likewise.
5228 * sysdeps/mach/hurd/sync.c: Likewise.
5230 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5232 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5234 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5236 * conform/data/ctype.h-data: Use correct comment form.
5237 * conform/data/errno.h-data: Likewise.
5238 * conform/data/math.h-data: Likewise.
5239 * conform/data/mqueue.h-data: Likewise.
5240 * conform/data/netdb.h-data: Likewise.
5241 * conform/data/pthread.h-data: Likewise.
5243 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5245 * conform/data/wordexp.h-data: Fix typo.
5247 * conform/conformtest.pl: Handle allow-header correctly.
5249 * conform/data/time.h-data: Use correct comment form.
5251 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5253 * configure.in: Comment out binutils version test.
5255 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5257 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5259 * stdlib/tst-strtod.c (locale_test): New function.
5260 (main): Call locale_test.
5261 * stdlib/Makefile (tst-strtod-ENV): New variable.
5263 2001-01-24 Mark Kettenis <kettenis@gnu.org>
5265 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5266 declaration of value such that we actually return the value of the
5267 environment variable.
5269 2001-01-24 Andreas Jaeger <aj@suse.de>
5271 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5273 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5275 * include/sys/sysctl.h: New file.
5277 2001-01-23 Andreas Jaeger <aj@suse.de>
5279 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5282 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5283 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5284 closes PR libc/2039.
5286 * manual/install.texi (Tools for Compilation): Change required
5289 2001-01-22 Andreas Jaeger <aj@suse.de>
5291 * configure.in: Add test for new enough binutils version, move
5292 compiler/binutils test up.
5294 * Versions.def: Add version GLIBC_2.2.2.
5296 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5298 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5300 * iconvdata/testdata/IBM932: New file.
5301 * iconvdata/testdata/IBM932..UTF8: New file.
5302 * iconvdata/testdata/IBM943: New file.
5303 * iconvdata/testdata/IBM943..UTF8: New file.
5304 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5306 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5308 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5310 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5312 * malloc/malloc.c: Remove a few unnecessary initializers of global
5315 2000-12-09 H.J. Lu <hjl@gnu.org>
5317 * nss/Makefile (routines): Add digits_dots.
5318 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5319 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5321 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5323 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5324 (TYPE_VAR_P): Likewise.
5325 (FLAGS_VAR): Likewise.
5326 (AF_VAR_P): Likewise.
5327 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5328 instead of including digits_dots.c.
5329 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5330 (TYPE_VAR_P): Likewise.
5331 (FLAGS_VAR): Likewise.
5332 (AF_VAR_P): Likewise.
5333 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5334 instead of including digits_dots.c.
5336 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5338 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5340 2001-01-21 Andreas Jaeger <aj@suse.de>
5342 * elf/constload2.c: Add prototype for init.
5344 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5346 * stdlib/stdlib.h (drand48_data): Make available only for
5347 __USE_MISC. Rename elements to protect namespace. Change type
5348 and position of a and init element.
5349 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5350 differently. Adjust for drand48_data change. Don't compute a here,
5351 it comes from drand48_data.
5352 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5353 differently. Adjust for drand48_data change. Compute a here.
5354 * stdlib/srand48_r.c: Likewise.
5355 * stdlib/drand48.c: Adjust for drand48_data change.
5356 * stdlib/lrand48.c: Likewise.
5357 * stdlib/mrand48.c: Likewise.
5358 * stdlib/seek48.c: Likewise.
5359 * stdlib/drand48_r.c: Likewise.
5360 * stdlib/lrand48_r.c: Likewise.
5361 * stdlib/mrand48_r.c: Likewise.
5362 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
5364 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5365 * stdlib/jrand48_r.c: Likewise.
5367 * po/sv.po: Update from translation team.
5369 2001-01-21 Andreas Jaeger <aj@suse.de>
5371 * stdio-common/vfprintf.c (vfprintf): Add casts.
5373 2001-01-20 Ulrich Drepper <drepper@redhat.com>
5375 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5377 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5379 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5380 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5381 * iconvdata/ibm932.c: New file.
5382 * iconvdata/ibm932.h: New file.
5383 * iconvdata/ibm943.c: New file.
5384 * iconvdata/ibm943.h: New file.
5385 Patches by Masahide Washizawa <washi@jp.ibm.com>.
5387 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5388 preventing optimization from being done. Set the correct type bit
5389 in seen. Don't define and use _dl_base_addr unless
5390 NEED_DL_BASE_ADDR is defined.
5392 * io/ftw.c (ftw_dir): Add slash after directory name if there
5393 wasn't any. Reported by loris <loris@iol.it>.
5394 * io/Makefile (tests): Add bug-ftw2.
5395 * io/bug-ftw2.c: New file.
5397 2001-01-19 Ulrich Drepper <drepper@redhat.com>
5399 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5400 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
5401 * stdlib/tst-rand48.c: New file.
5402 * stdlib/Makefile (tests): Add tst-rand48.
5404 * locale/newlocale.c (__newlocale): Fix test for setting all
5407 2001-01-19 Mark Kettenis <kettenis@gnu.org>
5409 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5410 but change looking up the initial directory port in a similar way
5411 as done by _hurd_change_directory_port_from_name.
5412 * hurd/fchroot.c (fchroot): Likewise.
5414 2001-01-18 Ulrich Drepper <drepper@redhat.com>
5416 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5417 defined don't look whether the AT_*ID values were set.
5418 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5419 (_dl_show_auxv): Rewrite to avoid switch statement.
5420 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5421 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5422 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5423 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5425 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5426 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5427 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5429 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5431 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5432 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5434 * dlfcn/eval.c (__strtol_internal): Define here.
5435 (eval): Use __strtol_internal instead of strtol.
5437 * elf/elf.h: Add a few more EF_MIPS_* constants.
5439 2001-01-17 Ulrich Drepper <drepper@redhat.com>
5441 * manual/Makefile (chapters): Add debug.
5442 * manual/debug.texi: New file.
5443 * manual/examples/execinfo.c: New file.
5444 Patch by suckfish@ihug.co.nz.
5446 2001-01-17 Andreas Schwab <schwab@suse.de>
5448 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5451 2001-01-17 Andreas Jaeger <aj@suse.de>
5453 * nscd/connections.c (nscd_run): Use proper format specifier.
5455 2001-01-16 Ulrich Drepper <drepper@redhat.com>
5457 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5458 x86_platforms data into new file after prepending _dl_. Change
5460 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5461 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5462 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5465 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5467 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5468 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5469 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5470 (_setjmp): Likewise.
5471 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5472 * sysdeps/i386/bsd-setjmp.S: Real implementation.
5473 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5474 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
5477 2001-01-16 Andreas Jaeger <aj@suse.de>
5479 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5480 misapplied last patch.
5482 2001-01-15 Ulrich Drepper <drepper@redhat.com>
5484 * stdlib/random.c (__initstate): Clean up a cast.
5485 (__setstate): Likewise.
5487 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5488 syscall handling. The generic Linux version should work.
5490 2001-01-15 Andreas Jaeger <aj@suse.de>
5492 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5494 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5496 2001-01-14 Jakub Jelinek <jakub@redhat.com>
5498 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5499 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5501 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5502 If number is 0, list all.
5503 (services_keys): Likewise. Lookup aliases as well.
5504 (databases): New table.
5505 (build_doc): Prepare argp doc text with list of supported databases.
5506 (main): Change to table driven processing.
5508 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
5510 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5513 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5515 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5516 encode value which does not fit in the 32bit type.
5518 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
5520 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5521 Change type of CTX to (struct sigcontext *).
5522 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5523 (GET_FRAME): Likewise.
5524 (GET_STACK): Likewise.
5525 (SIGCONTEXT): Likewise. Add 2nd arg _code.
5526 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5528 2001-01-13 Ulrich Drepper <drepper@redhat.com>
5530 * manual/texinfo.tex: Update from upstream version.
5532 2001-01-13 Jakub Jelinek <jakub@redhat.com>
5534 * inet/ether_ntoh.c (lookup_function): Change arguments to match
5535 _nss_*_getntohost_r prototype.
5536 (ether_ntohost): Pass errno pointer to NSS function.
5538 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5540 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5541 (MAP_LOCKED): New definition.
5542 (MAP_NORESERVE): New definition.
5544 2001-01-12 Ulrich Drepper <drepper@redhat.com>
5546 * assert/assert.h: Use static_cast instead of C-style cast for C++.
5547 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5549 2001-01-12 Ben Collins <bcollins@debian.org>
5551 * sysdeps/generic/segfault.c (install_handler): Use access, not
5554 2001-01-12 Andreas Jaeger <aj@suse.de>
5556 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5557 * posix/wordexp.c (do_parse_glob): Likewise.
5558 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5559 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5560 * elf/dl-open.c (_dl_open): Likewise.
5561 * elf/dl-close.c (_dl_close): Likewise.
5562 * elf/dl-load.c (_dl_map_object): Likewise.
5563 * iconv/iconv_prog.c (process_fd): Likewise.
5564 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5566 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5567 of a zero-length array.
5569 2001-01-11 Jakub Jelinek <jakub@redhat.com>
5571 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5572 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5573 * stdlib/cxa_on_exit.c: Remove.
5574 * stdlib/Makefile: Revert last patch.
5575 * stdlib/Versions: Likewise.
5576 * include/stdlib.h: Likewise.
5577 * stdlib/exit.h: Revert last patch.
5578 (struct exit_function): Add second argument to cxa fn.
5579 * stdlib/exit.c: Revert last patch.
5580 (exit): Add hidden second argument.
5582 2001-01-11 H.J. Lu <hjl@gnu.org>
5584 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5585 * elf/dl-open.c (_dl_open): Here.
5586 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5588 (_dl_static_init): Initialize the variables every time when possible.
5589 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5592 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5594 * stdlib/Makefile (routines): Add cxa_on_exit.
5595 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5596 * stdlib/cxa_on_exit.c: New file.
5597 * include/stdlib.h: Add prototype for __cxa_on_exit.
5598 * stdlib/exit.c: Handle ef_cxa2.
5599 * stdlib/exit.h (enum): Add ef_cxa2.
5600 (struct exit_function): Add cxa2.
5602 * Versions.def [ld]: Add GLIBC_2.2.1.
5604 2001-01-10 H.J. Lu <hjl@gnu.org>
5606 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5607 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5609 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5610 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5611 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5612 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5613 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5615 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5617 * libio/stdio.h: Remove definition of off_t.
5619 2001-01-11 Andreas Jaeger <aj@suse.de>
5621 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5624 2001-01-10 Ulrich Drepper <drepper@redhat.com>
5626 * sunrpc/Makefile (distribute): Add errqueue.h.
5628 2001-01-10 H.J. Lu <hjl@gnu.org>
5630 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5631 r9, r10 and r11 for language specific registers.
5633 2001-01-10 Jakub Jelinek <jakub@redhat.com>
5635 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5637 (clntudp_call): Handle MSG_ERRQUEUE.
5638 * sysdeps/generic/errqueue.h: New file.
5639 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5641 2001-01-10 H.J. Lu <hjl@gnu.org>
5643 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5645 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5647 * CONFORMANCE: Update.
5649 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5651 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5652 Minimal cleanups. Add assert to ensure memory handling is correct.
5654 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5655 Reported by Ben Collins <bcollins@debian.org>.
5657 * time/strftime.c (my_strftime): Mark previous GNU extensions
5658 which are now in C99 as such.
5660 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5662 * elf/rtld.c (process_envvars): Place output files for profiling
5663 in SUID binaries in /var/profile.
5665 * elf/dl-load.c (_dl_map_object): Don't look in cache for
5666 preloading in SUID binaries.
5668 * elf/dl-profile.c (_dl_start_profile): Open the output file with
5669 O_NOFOLLOW if possible.
5671 * include/stdlib.h: Add __posix_openpt declaration.
5672 * stdlib/stdlib.h: Add posix_openpt declaration.
5673 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5674 * sysdeps/generic/getpt.c: Define posix_openpt.
5675 * sysdeps/unix/bsd/getpt.c: Likewise.
5676 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5678 * time/Makefile (tests): Add tst-mktime.
5679 * time/tst-mktime.c: New file.
5681 * posix/tst-dir.c (main): One more mkdir() test.
5683 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5684 Remove getpagesize syscall. We assume that the pagesize is always
5685 determined from the auxiliary vector.
5687 * intl/dcigettext.c: Fix a few warnings.
5688 Patch by Bruno Haible <haible@ilog.fr>.
5690 2001-01-08 Andreas Jaeger <aj@suse.de>
5692 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5693 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5695 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5697 * sysdeps/generic/segfault.c (install_handler): Check output file
5700 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5701 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5703 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5705 * malloc/memusage.c (me): Use access() to determine whether we
5706 should write the output file or not.
5708 * libio/bits/stdio.h (printf): Define macro to map printf call to
5709 fprintf which gcc can optimize.
5710 * stdio-common/printf.c: Undefine printf.
5712 2001-01-07 Ulrich Drepper <drepper@redhat.com>
5714 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5715 patch. We must use unsigned int for l member of union.
5717 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5718 _dl_aux_init for shared libraries.
5720 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5721 * sysdeps/gnu/glob64.c: ...here. New file.
5723 2001-01-07 Ben Collins <bcollins@debian.org>
5725 * manual/examples/longopt.c: Make the "struct option" a little
5726 more like it should be, adding usage of required_argument,
5727 noargument and such, and also setting the options string right.
5729 * manual/sysinfo.texi (Load Average): New section, documents
5732 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5734 * version.h (VERSION): Bump to 2.2.1.
5736 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5737 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5738 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5739 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5740 * Makefile (distribute): Add include/libc-internal.h.
5741 * libio/Makefile (distribute): Avoid overwriting.
5743 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5744 buffer and table handling.
5746 2001-01-05 H.J. Lu <hjl@gnu.org>
5748 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5749 vector checking to ...
5750 (_dl_aux_init): Here. New function. Defined only if
5751 HAVE_AUX_VECTOR is defined.
5753 * sysdeps/generic/libc-start.c (__libc_start_main): Call
5754 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5756 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5759 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5760 (HAVE_AUX_VECTOR): Defined.
5761 (_dl_aux_init): Declared.
5763 2001-01-05 Ben Collins <bcollins@debian.org>
5765 * manual/string.texi (Finding Tokens in a String): Document XPG
5766 basename() and dirname(), as well as GNU basename().
5768 2001-01-05 Jakub Jelinek <jakub@redhat.com>
5770 * Makeconfig (preprocess-version): Replace -traditional with
5771 -x assembler-with-cpp.
5773 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
5775 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5776 for GCC 2.97 or later.
5778 2001-01-05 Ben Collins <bcollins@debian.org>
5780 * manual/stdio.texi (getline): Clarify the return value in the
5781 case of EOF being reached before a newline.
5783 2001-01-04 Jakub Jelinek <jakub@redhat.com>
5785 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5787 (pmap_set, pmap_unset): Check __get_myaddress return value.
5789 2001-01-05 Mark Kettenis <kettenis@gnu.org>
5791 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5792 (struct ether_addr): Declare ether_addr_octet member as
5793 `u_int8_t'. Add __attribute__ ((__packed__)).
5795 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5797 * sysdeps/mach/hurd/readdir64.c: New file.
5798 * sysdeps/mach/hurd/readdir64_r.c: New file.
5800 2001-01-07 Mark Kettenis <kettenis@gnu.org>
5802 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5803 `struct statfs' and `struct statvfs' being identical.
5804 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5806 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5808 * sysdeps/mach/hurd/fstatfs64.c: New file.
5809 * sysdeps/mach/hurd/fstatvfs64.c: New file.
5810 * sysdeps/mach/hurd/statfs64.c: New file.
5811 * sysdeps/mach/hurd/statvfs64.c: New file.
5812 * sysdeps/mach/hurd/statfsconv.c: New file.
5813 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5815 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5817 * iconv/skeleton.c: Reset outbuf for next round of the loop.
5818 Reported by Owen Taylor <otaylor@redhat.com>.
5819 * iconv/Makefile (tests): Add tst-iconv3.
5820 * iconv/tst-iconv3.c: New file.
5822 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
5823 * iconvdata/ibm933.c: Likewise.
5824 * iconvdata/ibm935.c: Likewise.
5825 * iconvdata/ibm937.c: Likewise.
5826 * iconvdata/ibm939.c: Likewise.
5827 * iconvdata/ibm930.h: Adjust single byte table for optimization.
5828 * iconvdata/ibm933.h: Likewise.
5829 * iconvdata/ibm935.h: Likewise.
5830 * iconvdata/ibm939.h: Likewise.
5832 * iconvdata/testdata/IBM930: Add misssing SI.
5833 * iconvdata/testdata/IBM933: Likewise.
5834 * iconvdata/testdata/IBM935: Likewise.
5835 * iconvdata/testdata/IBM937: Likewise.
5836 * iconvdata/testdata/IBM939: Likewise.
5838 2001-01-06 Andreas Jaeger <aj@suse.de>
5840 * configure.in: Check for old add-ons that shouldn't be used with
5841 current glibc anymore.
5843 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5845 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5846 instead of -1 on failure. Don't forget to copy file name into
5847 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
5850 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5852 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5853 copy st_atime member.
5855 2001-01-05 Ulrich Drepper <drepper@redhat.com>
5857 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5858 for searches from the root directory.
5859 Reported by loris <loris@iol.it> [PR libc/1991].
5860 * io/Makefile (tests): Add bug-ftw1.
5861 * io/bug-ftw1.c: New file.
5863 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5864 if it is not available. Instead use it only if it is available.
5865 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5867 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5868 overflowing output buffer.
5869 (internal_ucs4_loop_unaligned): Likewise.
5870 (ucs4_internal_loop): Likewise.
5871 (ucs4_internal_loop_unaligned): Likewise.
5872 (internal_ucs4le_loop): Likewise.
5873 (internal_ucs4le_loop_unaligned): Likewise.
5874 (ucs4le_internal_loop): Likewise.
5875 (ucs4le_internal_loop_unaligned): Likewise.
5876 Reported by Owen Taylor <otaylor@redhat.com>.
5877 * iconv/Makefile (tests): Add tst-iconv2.
5878 * iconv/tst-iconv2.c: New file.
5880 2001-01-04 H.J. Lu <hjl@gnu.org>
5882 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
5883 (_dl_clktck): Declared.
5884 (non_dynamic_init): Take 3 arguments.
5885 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5887 2001-01-01 Bruno Haible <haible@clisp.cons.org>
5889 Finish implementation of plural form handling.
5890 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5891 'domainname'. Remove 'plindex' field. Add 'domain' and
5892 'translation_length' fields.
5893 (transcmp): Don't compare 'plindex' fields.
5894 (plural_lookup): New function.
5895 (DCIGETTEXT): Change cache handing in the plural case. Don't call
5896 plural_eval before the translation and its catalog file have been
5897 found. Remove plindex from cache key. Add 'translation_length' and
5898 'domain' to cache result.
5899 (_nl_find_msg): Remove index argument, return length of translation
5900 to the caller instead. Weaken comparison of string lengths, to account
5901 for plural entries. Call iconv() on the entire result string, not
5902 only on the portion needed so far.
5903 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5905 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5907 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5909 * intl/plural.y (yylex): Minimal improvement in number scanner.
5911 2000-07-31 Bruno Haible <haible@clisp.cons.org>
5913 * intl/plural.y: Include config.h. Needed to define 'inline' away for
5914 C compilers that don't support it.
5915 (yylex): Don't use gcc specific case range syntax.
5916 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5919 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5921 * intl/finddomain.c: Remove unneeded includes.
5923 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5925 * intl/localealias.c (memcpy): Return first argument, just like the
5926 real memcpy function does.
5927 * intl/bindtextdom.c (memcpy): Likewise.
5928 * intl/finddomain.c (memcpy): Likewise.
5929 * intl/l10nflist.c (memcpy): Likewise.
5930 * intl/textdomain.c (memcpy): Likewise.
5931 From Paul Eggert <eggert@twinsun.com>.
5933 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5935 * resolv/resolv.h (struct __res_state): Add nsinit field.
5936 * resolv/res_send.c (res_nsend): Use it instead of nscount.
5937 * resolv/res_init.c (__res_vinit): Initialize it.
5938 (res_nclose): Clear it instead of nscount.
5940 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5942 * malloc/mtrace.pl: Fix matching of addresses.
5943 Patch by Aharon Robbins <arnold@skeeve.com>.
5945 * Versions.def (ld): Add GLIBC_2.2.
5947 * catgets/gencat.c: Copyright 2001.
5948 * csu/version.c: Likewise.
5949 * debug/catchsegv.sh: Likewise.
5950 * debug/xtrace.sh: Likewise.
5951 * elf/ldconfig.c: Likewise.
5952 * elf/sprof.c: Likewise.
5953 * iconv/iconv_prog.c: Likewise.
5954 * locale/locale.c: Likewise.
5955 * locale/localedef.c: Likewise.
5956 * malloc/memusage.sh: Likewise.
5957 * malloc/mtrace.pl: Likewise.
5958 * nscd/nscd.c: Likewise.
5959 * posix/getconf.c: Likewise.
5961 2001-01-04 Mark Kettenis <kettenis@gnu.org>
5963 * include/stdio.h: Only provide __getwc_unlocked prototype if
5964 USE_IN_LIBIO is defined.
5966 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5968 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5971 2001-01-03 Andreas Schwab <schwab@suse.de>
5973 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5974 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5976 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5977 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5979 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5980 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5983 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5985 * sysdeps/generic/strtol_l.c: Likewise.
5986 * sysdeps/generic/strtoul_l.c: Likewise.
5987 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5989 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5990 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5991 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5992 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5994 2001-01-04 Andreas Jaeger <aj@suse.de>
5996 * nss/nsswitch.c: Include files for missing prototypes, remove
5997 buggy declaration of prototypes.
5999 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6001 * resolv/Versions: Fix bracing.
6002 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6003 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6005 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6007 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
6009 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6011 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
6012 Suggested by Minko Markov <mmarkov@home.com>.
6014 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6016 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
6017 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
6019 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
6021 2001-01-02 Ben Collins <bcollins@debian.org>
6023 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
6024 if TZ is not set and TZDEFAULT is not present.
6026 2001-01-01 Ben Collins <bcollins@debian.org>
6028 * string/strings.h: Make sure we declare our functions even if
6029 string.h is already included, based on whether or not __USE_BSD is
6032 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6034 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
6035 other dlopen() and dlsym().
6036 Based on a patch by Ben Collins <bcollins@debian.org>.
6038 2001-01-02 Andreas Jaeger <aj@suse.de>
6040 * dlfcn/errmsg1.c (main): Call dlerror initially.
6041 Reported by Ben Collins <bcollins@debian.org>.
6043 2001-01-02 Ulrich Drepper <drepper@redhat.com>
6045 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
6046 value is ignored if the selected locale is the C locale.
6047 * intl/tst-gettext.c: Set locale for above change.
6048 * intl/tst-translit.c: Likewise.
6050 2001-01-02 Andreas Jaeger <aj@suse.de>
6052 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
6053 (_IO_switch_to_wget_mode): Likewise.
6054 (_IO_sputbackwc): Likewise.
6055 (_IO_sungetwc): Use wint_t for result.
6057 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
6059 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
6062 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
6063 to (int) to avoid warnings.
6064 * stdio-common/printf_fp.c (putc): Likewise.
6065 * stdio-common/printf_size.c (putc): Likewise.
6067 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
6070 2001-01-01 Andreas Jaeger <aj@suse.de>
6072 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
6074 2000-12-31 Andreas Jaeger <aj@suse.de>
6076 * include/libc-internal.h: Add prototype for __libc_freeres.
6078 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
6079 for prototypes, remove redundant prototypes.
6080 * gmon/gmon.c: Likewise.
6081 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6082 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6083 * malloc/mtrace.c: Likewise.
6085 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
6087 * elf/soinit.c: Likewise.
6088 * sysdeps/generic/prof-freq.c: Likewise.
6089 * sysdeps/mach/hurd/profil.c: Likewise.
6090 * debug/noophooks.c: Likewise.
6091 * debug/pcprofile.c: Likewise.
6092 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
6093 * sysdeps/generic/get_clockfreq.c: Likewise.
6094 * malloc/set-freeres.c: Likewise.
6096 * locale/localeinfo.h: Add internal prototypes.
6098 * elf/rtld.c (dl_main): Fix prototype.
6100 * iconvdata/tst-table-to.c (main): Use return instead of exit to
6103 * nis/rpcsvc/yp_prot.h: Remove __P.
6104 * nis/rpcsvc/ypupd.h: Likewise.
6105 * nis/rpcsvc/yp.h: Likewise.
6107 * sunrpc/rpc_main.c: Add noreturn attributes.
6108 * sunrpc/rpc_scan.h: Likewise.
6110 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
6112 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
6114 * sunrpc/proto.h: Add noreturn attributes to error and crash.
6116 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
6118 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
6120 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
6122 * include/rpc/rpc_msg.h: Add prototypes for some functions.
6123 * include/rpc/auth.h: Likewise.
6124 * include/rpc/auth_des.h: Likewise.
6125 * include/rpc/clnt.h: Likewise.
6126 * include/rpc/rpc.h: Likewise.
6127 * include/rpc/svc.h: Likewise.
6128 * include/rpc/svc_auth.h: Likewise.
6130 * include/rpc/des_crypt.h: New file.
6132 * malloc/memusagestat.c (main): Use return instead of exit to
6134 * io/pwd.c (main): Likewise.
6135 * iconvdata/tst-table-from.c (main): Likewise.
6136 * ctype/test_ctype.c (main): Likewise.
6137 * setjmp/tst-setjmp.c (main): Likewise.
6138 * signal/tst-signal.c (main): Likewise.
6139 * stdlib/tst-strtol.c (main): Likewise.
6140 * stdlib/tst-strtod.c (main): Likewise.
6141 * stdlib/tst-strtoll.c (main): Likewise.
6142 * stdlib/tst-xpg-basename.c (main): Likewise.
6143 * dirent/tst-seekdir.c (main): Likewise.
6144 * grp/testgrp.c (main): Likewise.
6145 * inet/test_ifindex.c (main): Likewise.
6146 * io/test-utime.c (main): Likewise.
6147 * posix/test-vfork.c (main): Likewise.
6148 * posix/testfnm.c (main): Likewise.
6149 * stdio-common/temptest.c (main): Likewise.
6150 * stdio-common/test_rdwr.c (main): Likewise.
6151 * stdio-common/tst-fileno.c (main): Likewise.
6152 * stdio-common/tst-sscanf.c (main): Likewise.
6153 * stdio-common/tstscanf.c (main): Likewise.
6154 * string/bug-strncat1.c (main): Likewise.
6155 * string/bug-strpbrk1.c (main): Likewise.
6156 * string/bug-strspn1.c (main): Likewise.
6157 * string/test-ffs.c (main): Likewise.
6158 * string/tst-inlcall.c (main): Likewise.
6159 * string/tst-svc.c (main): Likewise.
6160 * timezone/test-tz.c (main): Likewise.
6161 * wctype/test_wcfuncs.c (main): Likewise.
6162 * wctype/test_wctype.c (main): Likewise.
6164 * stdlib/tst-random.c: Add attribute noreturn to fail.
6166 2000-12-28 Wolfram Gloger <wg@malloc.de>
6168 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6169 destination overlap. Assume dest is always below source if
6172 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6174 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6175 object was not yet initialized.
6177 2000-12-28 H.J. Lu <hjl@gnu.org>
6179 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6180 is always consistent even if its dependency is failed.
6182 * elf/dl-open.c (_dl_open): Increment the open count before
6183 calling _dl_close () in case of failure.
6185 * elf/neededtest4.c: New file.
6186 * elf/neededobj5.c: New file.
6187 * elf/neededobj6.c: New file.
6189 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6190 (tests): Add neededtest4.
6191 (modules-names): Add neededobj5 and neededobj6.
6192 ($(objpfx)neededobj6.so): New target.
6193 ($(objpfx)neededtest4): New target.
6194 ($(objpfx)neededtest4.out): New target.
6196 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6198 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6199 * stdlib/monetary.h: Add strfmon format attributes.
6201 2000-12-28 Roland McGrath <roland@frob.com>
6203 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6204 __mempcpy does it for us.
6206 2000-12-28 Andreas Jaeger <aj@suse.de>
6208 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6210 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6213 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6216 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6219 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6220 __chown_is_lchown and __real_chown.
6222 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6225 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6226 up GCC's warning about "deprecated use of label at end of compound
6228 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6230 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6232 Remove struct bb and __bb_head since those are declared by
6235 2000-12-22 Ben Collins <bcollins@debian.org>
6237 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6239 * manual/argp.texi: Document argp_domain as part of struct argp.
6241 2000-12-28 Andreas Jaeger <aj@suse.de>
6243 * catgets/Makefile (generated): Add sample.SJIS.cat.
6245 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6247 * elf/dl-minimal.c: Add prototypes.
6249 * include/locale.h: Add internal prototypes.
6250 * include/sys/gmon.h: Likewise.
6252 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6254 2000-12-27 Ben Collins <bcollins@debian.org>
6256 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6257 when reallocating the error strings.
6258 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6260 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6262 * dlfcn/Makefile (tests): Add errmsg1.
6263 (modules-names): Add errmsg1mod.
6264 Add rules to run errmsg1.
6265 * dlfcn/errmsg1.c: New file.
6266 * dlfcn/errmsg1mod.c: New file.
6268 * dlfcn/dlerror.c (dlerror): Always create output string which
6269 includes object file name.
6271 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6272 if we would go through it only once.
6273 Patch by Rick Gorton <rick.gorton@api-networks.com>.
6275 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6276 Patch by Richard Henderson <rth@redhat.com>.
6278 2000-12-27 Jakub Jelinek <jakub@redhat.com>
6280 * malloc/malloc.c (memmove): Add prototypes.
6281 (MALLOC_MEMMOVE): Define.
6282 (chunk_realloc): Use it instead of MALLOC_COPY if source and
6283 destination might overlap.
6285 2000-12-27 Andreas Jaeger <aj@suse.de>
6287 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6289 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6290 * locale/programs/locale.c (show_locale_vars): Likewise.
6291 (show_info): Likewise.
6292 * locale/programs/ld-collate.c (collate_output): Likewise.
6293 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6294 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6295 * stdlib/rpmatch.c (rpmatch): Likewise.
6297 * setjmp/tst-setjmp.c: Make local functions static.
6298 * setjmp/jmpbug.c: Likewise.
6299 * signal/tst-signal.c: Likewise.
6300 * stdio-common/tfformat.c: Likewise.
6301 * string/tst-svc.c: Likewise.
6302 * time/clocktest.c: Likewise.
6303 * time/tst-getdate.c: Likewise.
6304 * dirent/list.c: Likewise.
6305 * dirent/opendir-tst1.c: Likewise.
6306 * posix/runtests.c: Likewise.
6307 * posix/tst-getaddrinfo.c: Likewise.
6308 * posix/tst-chmod.c: Likewise.
6309 * posix/wordexp-test.c: Likewise.
6310 * misc/tst-efgcvt.c: Likewise.
6311 * timezone/tst-timezone.c: Likewise.
6312 * rt/tst-clock.c: Likewise.
6313 * rt/tst-shm.c: Likewise.
6314 * rt/tst-aio2.c: Likewise.
6315 * rt/tst-aio3.c: Likewise.
6316 * rt/tst-aio4.c: Likewise.
6317 * rt/tst-aio5.c: Likewise.
6319 * dlfcn/failtest.c: Add prototype for foo.
6321 * dlfcn/glrefmain.c: Add prototype for do_test.
6323 * dlfcn/tst-dladdr.c: Add prototype for do_test.
6325 * string/test-ffs.c (main): Add prototype for nested function.
6327 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6329 * nss/XXX-lookup.c: Add prototype to shut up GCC.
6331 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6332 setetherent prototype.
6333 Add internal interfaces.
6335 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6336 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6338 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6340 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6342 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6343 prototypes, remove struct etherent since it's declared in ether.h.
6344 Fix ntohost declaration.
6346 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6348 * include/getopt.h: Add internal interfaces.
6349 * include/termios.h: Likewise.
6350 * include/resolv.h: Likewise.
6351 * include/netdb.h: Likewise.
6352 * include/grp.h: Likewise.
6353 * include/pwd.h: Likewise.
6354 * include/shadow.h: Likewise.
6355 * include/rpc/netdb.h: Likewise.
6356 * include/setjmp.h: Likewise.
6358 * include/stdio.h: Add prototypes for compatibility functions.
6359 * include/grp.h: Likewise.
6360 * include/pwd.h: Likewise.
6361 * include/shadow.h: Likewise.
6363 * include/fenv.h: Define internal interfaces.
6365 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6367 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6368 argument case separately.
6369 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6371 2000-12-27 Andreas Jaeger <aj@suse.de>
6373 * include/sys/wait.h: Add some prototypes.
6374 * Rules (dummy.c): Create also prototype to shut up GCC.
6376 2000-12-27 Andreas Jaeger <aj@suse.de>
6378 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6379 it's not needed at the moment.
6380 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6381 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6383 2000-12-26 Andreas Jaeger <aj@suse.de>
6385 * libio/getc_u.c: Include stdio.h via system path to get internal
6387 * libio/getwc_u.c: Likewise.
6389 * stdlib/strfmon.c: Fix prototype of __printf_fp.
6391 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6392 __printf_fp prototypes to ...
6393 * include/printf.h: ...here.
6395 * include/stdio.h: Add some internal prototypes to shut up GCC.
6396 * include/stdlib.h: Likewise.
6398 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6401 * include/signal.h: Add prototypes for internal sigpause
6404 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6406 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6407 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
6409 * string/Makefile (tests): Add tst-bswap.
6410 * string/tst-bswap.c: New file.
6412 2000-12-11 Bruno Haible <haible@clisp.cons.org>
6414 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6416 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6418 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6419 Patch by Ed Connell <Ed.Connell@sas.com>.
6421 2000-12-24 Ulrich Drepper <drepper@redhat.com>
6423 * locale/iso-639.def: Correct one entry. Add two missing entries.
6425 * locale/iso-4217.def: Change entry for Eritrea.
6426 Reported by Daniel Yacob <yacob@geez.org>.
6428 2000-12-23 Ben Collins <bcollins@debian.org>
6430 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6433 * manual/stdio.texi (Dynamic Output): Document the return value of
6434 asprintf. Also make the asprintf/snprintf examples a little
6435 better (check for some error returns).
6437 2000-12-22 Andreas Jaeger <aj@suse.de>
6439 * include/stdio.h: Add __ftrylockfile prototype.
6441 2000-12-21 H.J. Lu <hjl@gnu.org>
6443 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6444 Make sign_exponent element signed.
6446 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6449 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6451 2000-12-21 Andreas Jaeger <aj@suse.de>
6453 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6454 * inet/ether_hton.c: Likewise
6455 * inet/ether_ntoh.c: Likewise.
6457 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6458 declaration to match prototype.
6460 * include/netinet/ether.h (struct etherent): Declare here so that
6461 all implementations use the same struct.
6463 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6465 (struct ether): Removed.
6466 Use struct etherent instead of ether everywhere.
6468 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6470 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6472 * sunrpc/publickey.c: Include auth_des.h for prototypes.
6474 2000-12-20 Ulrich Drepper <drepper@redhat.com>
6476 * math/test-misc.c: Add more tests for nextafter functions.
6478 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6479 normal correctly. Correct test for sign.
6480 Based on a patch by HJ Lu.
6482 2000-12-19 Ulrich Drepper <drepper@redhat.com>
6484 * Makeconfig (preprocess-version): Add -traditional to gcc call.
6487 2000-12-19 Andreas Jaeger <aj@suse.de>
6489 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6491 * nis/nis_intern.h: Add prototype for __do_niscall3.
6493 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6496 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6498 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6500 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6502 2000-12-18 Ulrich Drepper <drepper@redhat.com>
6504 * math/test-misc.c: Add more tests for nextafter.
6505 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6506 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6507 (ieee_long_double_shape_type): Make sign_exponent element signed.
6509 * manual/message.texi: Add Estonian to plural overview list.
6510 Correct rule for Slavic languages.
6511 Patch by Stanislav Brabec <utx@penguin.cz>.
6513 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6515 2000-12-18 Andreas Jaeger <aj@suse.de>
6517 * test-skeleton.c: Use temp_name_list instead of name_list to
6518 avoid collision with name_list from inet/netgroup.h.
6520 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6522 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6523 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6524 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6525 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6527 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6528 declaration to match prototype.
6529 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6530 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6531 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6533 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6534 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6535 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6536 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6537 (_nss_nis_getservbyport_r): Likewise.
6538 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6539 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6540 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6541 (_nss_nis_setnetent): Likewise
6542 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6543 (_nss_nis_endnetgrent): Likewise.
6544 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6546 (_nss_nisplus_setnetgrent): Likewise.
6547 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6548 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6549 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6550 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6552 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6554 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6556 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6558 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6559 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6560 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6561 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6562 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6563 (_nss_dns_getnetbyaddr_r): Likewise.
6565 2000-12-17 Andreas Jaeger <aj@suse.de>
6567 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6570 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6571 unused attribute to shut up gcc warnings.
6573 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6574 * sysdeps/generic/k_tanl.c: Likewise.
6575 * sysdeps/generic/k_cosl.c: Likewise.
6576 * sysdeps/generic/e_j0l.c: Likewise.
6577 * sysdeps/generic/e_j1l.c: Likewise.
6578 * sysdeps/generic/e_jnl.c: Likewise.
6579 * sysdeps/generic/e_lgammal_r.c: Likewise.
6581 * elf/vismain.c: Move prototypes for functions in vismod*.c to
6583 * elf/vismod.h: New file.
6584 * elf/Makefile (distribute): Add vismod.h.
6585 * elf/vismod1.c: Include vismod.h.
6586 * elf/vismod2.c: Likewise.
6587 * elf/vismod3.c: Likewise.
6589 * elf/constload3.c: Add prototype declarations to shut up gcc.
6590 * elf/failobj.c: Likewise.
6591 * elf/nodelmod3.c: Likewise.
6592 * elf/filtmod1.c: Likewise.
6593 * elf/filtmod2.c: Likewise.
6594 * elf/reldepmod1.c: Likewise.
6595 * elf/reldepmod2.c: Likewise.
6596 * elf/reldepmod3.c: Likewise.
6597 * elf/reldepmod4.c: Likewise.
6598 * elf/unload2dep.c: Likewise.
6599 * elf/unload2mod.c: Likewise.
6600 * elf/ltglobmod1.c: Likewise.
6601 * elf/pathoptobj.c: Likewise.
6602 * elf/neededobj1.c: Likewise.
6603 * elf/neededobj2.c: Likewise.
6604 * elf/neededobj3.c: Likewise.
6605 * elf/neededobj4.c: Likewise.
6606 * elf/nextmod1.c: Likewise.
6607 * elf/nextmod2.c: Likewise.
6609 * locale/programs/ld-collate.c (collate_finish): Don't use labels
6610 at end of compound statement.
6611 * locale/programs/locale.c (show_info): Likewise.
6612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6614 2000-12-16 Jakub Jelinek <jakub@redhat.com>
6616 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6617 with a pointer not returned by obstack_ functions.
6619 2000-12-16 Ulrich Drepper <drepper@redhat.com>
6621 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6623 (struct stat64): Likewise.
6624 Reported by Michael Keezer <mkeezer@redhat.com>.
6626 * timezone/asia: Update from tzdata2000h.
6627 * timezone/australasia: Likewise.
6628 * timezone/backward: Likewise.
6629 * timezone/europe: Likewise.
6630 * timezone/northamerica: Likewise.
6631 * timezone/southamerica: Likewise.
6632 * timezone/zone.tab: Likewise.
6634 2000-12-14 Jakub Jelinek <jakub@redhat.com>
6636 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6637 and dir.stream is NULL, only free dir.content.
6638 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6639 * io/ftwtest-sh: Test with --early-exit.
6641 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6643 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6644 (FCVT_BUFPTR): New variable.
6645 (fcvt): If fcvt_r returns -1 on the static short buffer,
6646 try to malloc a sufficiently large one and retry.
6647 (free_mem): New function.
6648 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6649 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6651 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6653 * misc/dirname.c (dirname): Fix search for second to last slash.
6655 2000-12-13 Andreas Jaeger <aj@suse.de>
6657 * misc/tst-dirname.c (main): Fix typo in test to really use
6658 the examples from Unix98.
6659 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6661 2000-12-09 H.J. Lu <hjl@gnu.org>
6663 * sysdeps/ia64/fpu/s_fabs.S: New file.
6664 * sysdeps/ia64/fpu/s_fabsf.S: New file.
6665 * sysdeps/ia64/fpu/s_fabsl.S: New file.
6667 2000-12-15 Andreas Jaeger <aj@suse.de>
6669 * stdio-common/scanf9.c (main): Reformat and change to avoid
6672 * stdio-common/tstdiomisc.c: Make local functions static.
6673 * stdio-common/tst-printf.c: Likewise.
6675 * elf/constload2.c: Add prototype declarations to shut up gcc.
6676 * elf/dep1.c: Likewise.
6677 * elf/dep2.c: Likewise.
6678 * elf/dep3.c: Likewise.
6679 * elf/dep4.c: Likewise.
6680 * elf/ltglobmod2.c: Likewise.
6682 * libio/fmemopen.c: Make local functions static.
6684 * elf/Makefile (distribute): Added testobj.h.
6686 * elf/testobj.h: New file.
6688 * elf/testobj1.c: Include testobj.h and move prototype
6689 declarations to testobj.h.
6690 * elf/testobj2.c: Likewise.
6691 * elf/testobj3.c: Likewise.
6692 * elf/testobj4.c: Likewise.
6693 * elf/testobj5.c: Likewise.
6694 * elf/testobj6.c: Likewise.
6695 * elf/testobj1_1.c: Likewise.
6696 * elf/preloadtest.c: Likewise.
6698 2000-12-15 Ben Collins <bcollins@debian.org>
6700 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6701 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6703 2000-12-14 H.J. Lu <hjl@gnu.org>
6705 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6706 field in a float is 8 bits, not 11 bits.
6708 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6710 * math/test-misc.c (main): Adjust m for IEEE quad long double.
6712 2000-12-13 Andreas Jaeger <aj@suse.de>
6714 * manual/message.texi (Using gettextized software): Fix typo.
6716 * manual/charset.texi (Converting a Character): Fix mbstouwcs
6718 Patch by Martin Buchholz <martin@xemacs.org>.
6720 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6721 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6723 2000-12-11 Andreas Jaeger <aj@suse.de>
6725 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6726 kernel_sigset_t and use it.
6727 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6729 2000-12-10 Richard Henderson <rth@redhat.com>
6731 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6732 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6733 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6735 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6737 * sysdeps/alpha/htonl.S: Fix a typo.
6739 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6741 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6743 2000-12-10 Andreas Jaeger <aj@suse.de>
6745 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6746 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6747 Drepper <drepper@redhat.com>.
6749 2000-12-09 Andreas Jaeger <aj@suse.de>
6751 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6753 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6755 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6757 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6760 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6763 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6764 * nscd/connections.c (handle_request): Likewise.
6765 * nscd/pwdcache.c (addpwbyname): Likewise.
6766 * nscd/grpcache.c (addgrbyname): Likewise.
6768 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6770 2000-12-09 Ulrich Drepper <drepper@redhat.com>
6772 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6774 * Makeconfig (default_cflags): Make -O2 the default for stable
6777 2000-12-08 H.J. Lu <hjl@gnu.org>
6779 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6780 * sysdeps/ia64/fpu/s_isinf.S: This.
6781 Add a .pred.rel.mutex note to avoid false report.
6783 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6784 * sysdeps/ia64/fpu/s_isnan.S: This.
6786 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6787 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6788 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6789 * sysdeps/ia64/fpu/s_isinff.S: New file.
6790 * sysdeps/ia64/fpu/s_isinfl.S: New file.
6791 * sysdeps/ia64/fpu/s_isnanf.S: New file.
6792 * sysdeps/ia64/fpu/s_isnanl.S: New file.
6793 * sysdeps/ia64/fpu/s_finite.S: New file.
6794 * sysdeps/ia64/fpu/s_finitef.S: New file.
6795 * sysdeps/ia64/fpu/s_finitel.S: New file.
6796 * sysdeps/ia64/fpu/s_signbit.S: New file.
6797 * sysdeps/ia64/fpu/s_signbitf.S: New file.
6798 * sysdeps/ia64/fpu/s_signbitl.S: New file.
6799 * sysdeps/ia64/fpu/s_copysign.S: New file.
6800 * sysdeps/ia64/fpu/s_copysignf.S: New file.
6801 * sysdeps/ia64/fpu/s_copysignl.S: New file.
6803 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6805 * math/libm-test.inc (main): Fix typos in messages.
6807 * string/stratcliff.c: Add test for rawmemchr.
6809 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6811 * elf/dl-open.c (_dl_open): If objname points right after errstring,
6812 allocate it together with errstring using alloca.
6813 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6814 to "", because it might point to local stack.
6816 2000-12-05 H.J. Lu <hjl@gnu.org>
6818 * nss/Makefile (routines): Add getnssent and getnssent_r.
6819 * nss/nsswitch.h (__nss_setent): New internal NSS function.
6820 (__nss_endent): Likewise.
6821 (__nss_getent_r): Likewise.
6822 (__nss_getent): Likewise.
6823 * nss/getnssent_r.c: New file.
6824 * nss/getnssent.c: New file.
6825 * nss/getXXent.c (H_ERRNO_VAR): Updated.
6826 (GETFUNC_NAME): Updated to call __nss_getent ().
6827 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6828 (STAYOPEN_TMPVAR): Updated.
6829 (STAYOPEN_VAR): Updated.
6830 (SETFUNC_NAME): Updated to call __nss_setent ().
6831 (ENDFUNC_NAME): Updated to call __nss_endent ().
6832 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6834 2000-12-08 Andreas Jaeger <aj@suse.de>
6836 * nscd/dbg_log.h (dbg_log): Correct attribute.
6838 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6840 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6841 cp + len. Compute where from dirname.
6842 Reported by <jreiser@BitWagon.com>.
6844 2000-12-08 Richard Henderson <rth@twiddle.net>
6846 * sysdeps/alpha/_mcount.S: Fix typo.
6847 * sysdeps/alpha/strncpy.S: Likewise.
6849 * sysdeps/alpha/alphaev6/Implies: New file.
6850 * sysdeps/alpha/alphaev67/Implies: New file.
6851 * sysdeps/alpha/alphaev67/ffs.S: New file.
6852 * sysdeps/alpha/alphaev67/ffsll.S: New file.
6853 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6854 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6855 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6856 * sysdeps/alpha/rawmemchr.S: New file.
6857 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6858 * sysdeps/alpha/strcpy.S: Likewise.
6861 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6863 From rick.gorton@alpha-processor.com:
6864 * sysdeps/alpha/alphaev6/memchr.S: New file.
6865 * sysdeps/alpha/alphaev6/memcpy.S: New file.
6866 * sysdeps/alpha/alphaev6/memset.S: New file.
6867 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6868 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6869 * sysdeps/alpha/alphaev67/strcat.S: New file.
6870 * sysdeps/alpha/alphaev67/strchr.S: New file.
6871 * sysdeps/alpha/alphaev67/strlen.S: New file.
6872 * sysdeps/alpha/alphaev67/strncat.S: New file.
6873 * sysdeps/alpha/htonl.S: Use a shorter sequence.
6875 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6877 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6878 Reported by <pspencer@fields.utoronto.ca>.
6880 2000-12-07 Jes Sorensen <jes@linuxcare.com>
6882 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6883 Pointed out by Hans Boehm.
6885 2000-12-07 H.J. Lu <hjl@gnu.org>
6887 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6889 2000-12-07 Andreas Jaeger <aj@suse.de>
6891 * misc/error.c: Add format attributes for __error and __error_at_line.
6893 * nscd/dbg_log.h: Add format attribute.
6895 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6897 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6898 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6900 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
6902 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6904 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6906 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6907 (sysdep_routines): Add uitrunc.
6908 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6909 Patches by Michael Keezer <mkeezer@redhat.com>.
6911 2000-12-06 Roland McGrath <roland@frob.com>
6913 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6914 argument data, since it will be used to copy out too (for INOUT).
6915 Reported by Marcus Brinkmann <marcus@gnu.org>.
6917 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6918 (__ioctl): Use uintptr_t instead of unsigned long int.
6920 2000-12-06 Jim Wilson <wilson@redhat.com>
6922 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6924 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6926 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6927 x.5 rounding correctly.
6929 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6931 * stdio-common/perror.c (perror): Conditionalize code dealing with
6932 wide-oriented streams on USE_IN_LIBIO.
6934 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6936 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6937 as internal_function.
6939 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6941 * sysdeps/alpha/elf/start.S (__data_start): Define.
6943 2000-12-05 H.J. Lu <hjl@gnu.org>
6945 * nss/getXXent_r.c (setup): Change the return type to int.
6947 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6949 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6950 (sysdep_routines): Add restf and savef.
6951 * sysdeps/unix/sysv/aix/restf.c: New file.
6952 * sysdeps/unix/sysv/aix/savef.c: New file.
6953 Patches by Michael Keezer <mkeezer@redhat.com>.
6955 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6956 if O_DIRECTORY is not defined.
6957 Patch by Michael Keezer <mkeezer@redhat.com>.
6959 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6960 Patch by Michael Keezer <mkeezer@redhat.com>.
6962 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6963 than 4 bytes in escape sequence.
6964 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6966 2000-12-05 Andreas Jaeger <aj@suse.de>
6968 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6971 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6973 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6975 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6976 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6978 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6980 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6981 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6983 * sysdeps/generic/dl-cache.c: Remove declaration of
6984 _dl_sysdep_read_whole_file.
6986 * elf/dl-load.c (_dl_map_object): Remove declaration of
6987 _dl_load_cache_lookup.
6989 * sysdeps/generic/ldsodefs.h: Add declarations of
6990 _dl_load_cache_lookup, _dl_unload_cache,
6991 _dl_sysdep_read_whole_file, _dl_sysdep_start and
6992 _dl_sysdep_start_cleanup.
6994 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6997 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6998 * sysdeps/generic/dl-environ.c: Likewise.
7000 * stdio-common/printf_fp.c: Include <gmp.h> instead of
7002 * math/atest-exp.c: Likewise.
7003 * math/atest-exp2.c: Likewise.
7004 * math/atest-sincos.c: Likewise.
7005 * stdio-common/_itoa.c: Likewise.
7006 * stdio-common/_itowa.c: Likewise.
7008 * include/gmp.h: New file with internal prototypes.
7010 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
7012 * include/setjmp.h: ...here.
7014 * locale/Makefile (routines): Remove codeset_name since it's not
7017 * locale/codeset_name.c: Removed.
7019 2000-12-05 Ulrich Drepper <drepper@redhat.com>
7021 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
7023 2000-12-05 Andreas Jaeger <aj@suse.de>
7025 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
7027 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
7029 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
7032 2000-12-05 Andreas Jaeger <aj@suse.de>
7034 * nss/test-netdb.c: Mark local functions as static to avoid
7036 (main): Use return to silence warning.
7038 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
7040 * stdio-common/test-popen.c: Mark local functions as static to
7042 (main): Use return to silence warning.
7044 * stdlib/testsort.c (compare): Mark as static to avoid warning.
7046 * assert/test-assert.c: Mark local functions as static to avoid
7048 * assert/test-assert-perr.c: Likewise.
7050 * math/libm-test.inc (main): Use return to silence warnings.
7052 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7054 * math/fenv.h: Fix typo in comment.
7056 * math/test-misc.c (main): Add a few more over and underflow tests
7059 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
7060 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7061 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7062 * math/w_scalb.c: Don't use matherr except in SVID mode.
7063 * math/w_scalbf.c: Likewise.
7064 * math/w_scalbl.c: Likewise.
7065 * math/test-misc.c: Add test for NaN and scalbl.
7066 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7068 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7070 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
7071 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
7072 * include/libc-symbols.h (strong_alias): Define special version
7073 for HAVE_ASM_GLOBAL_DOT_NAME.
7074 (weak_alias): Likewise.
7075 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
7076 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
7077 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
7078 getutxline, pututxline, and utmpxname.
7079 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
7080 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
7081 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
7082 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
7083 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
7084 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
7085 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
7086 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
7087 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
7088 Patches by Michael Keezer <mkeezer@redhat.com>.
7090 2000-12-04 H.J. Lu <hjl@gnu.org>
7092 * configure.in: Change --with-oldest-abi=ABI to
7093 --enable-oldest-abi=ABI.
7095 2000-12-02 Bruno Haible <haible@clisp.cons.org>
7097 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
7098 fwprintf instead of fprintf.
7100 2000-12-04 Ulrich Drepper <drepper@redhat.com>
7102 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
7103 DECIMAL_DIG definitions.
7104 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
7105 * sysdeps/generic/bits/mathdef.h: Likewise
7106 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
7107 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
7108 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
7109 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
7110 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
7111 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
7113 2000-12-03 Ulrich Drepper <drepper@redhat.com>
7115 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
7117 * math/atest-exp.c: Mark local functions as static to avoid warnings.
7118 * math/atest-exp2.c: Likewise.
7119 * math/atest-sincos.c: Likewise.
7121 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
7122 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7124 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
7125 the handling of denormalized numbers.
7127 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
7129 * sysdeps/i386/fpu/fpclassifyl.c: New file.
7131 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
7132 pseudo denormal representation of LDBL_MIN.
7134 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
7135 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
7137 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
7138 * iconvdata/jis0208.c: Likewise.
7139 * iconvdata/jis0212.c: Likewise.
7140 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7142 * math/test-misc.c (main): More tests for frexp and some for
7143 fpclassify and isnormal.
7145 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
7147 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7149 * math/test-misc.c (main): Add tests for frexp.
7150 Reported by Fred J. Tydeman <tydeman@tybor.com>.
7151 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
7153 2000-12-02 H.J. Lu <hjl@gnu.org>
7155 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
7158 2000-12-02 Ulrich Drepper <drepper@redhat.com>
7160 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
7161 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7162 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7164 * sysdeps/generic/glob.c: Adjust types of several variables to
7167 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7169 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7171 2000-11-30 Roland McGrath <roland@frob.com>
7173 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7174 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7175 allow multiple instances using the same function name in one file.
7177 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7179 * configure.in: Correct test for pserver CVS access.
7181 2000-11-28 H.J. Lu <hjl@gnu.org>
7183 * libio/libio.h: Remove extra "#if ... #endif".
7185 2000-11-29 H.J. Lu <hjl@gnu.org>
7187 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7189 2000-12-01 H.J. Lu <hjl@gnu.org>
7191 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7192 * nss/getXXent_r.c: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7195 2000-11-30 H.J. Lu <hjl@gnu.org>
7197 * scripts/abi-versions.awk (oldest_abi): New variable.
7198 Handle the oldest ABI supported.
7200 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7201 for scripts/abi-versions.awk.
7203 * configure.in: Add --with-oldest-abi=ABI.
7204 * configure: Rebuild.
7206 * config.make.in (oldest-abi): New.
7208 * config.h.in (GLIBC_OLDEST_ABI): New.
7210 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7212 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7214 * locale/setlocale.c (setname): Free for all categories, not just
7216 (setlocale): Store a copy of string passed by user, not the string
7219 2000-11-30 Roland McGrath <roland@frob.com>
7221 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7222 rather than _hurd_fd_subinit, so it happens after it's safe to use
7223 libc facilities like malloc.
7225 2000-11-28 Andreas Jaeger <aj@suse.de>
7227 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7228 declaration, adjust declaration of __syscall_getdents to match
7231 2000-11-29 H.J. Lu <hjl@gnu.org>
7233 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7235 2000-11-29 Andreas Jaeger <aj@suse.de>
7237 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7239 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7241 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7242 * dlfcn/defaultmod2.c: Likewise.
7243 * dlfcn/dlopen.c: Likewise.
7244 * dlfcn/dlopenold.c: Likewise.
7245 * dlfcn/failtestmod.c: Likewise.
7246 * dlfcn/glreflib1.c: Likewise.
7247 * dlfcn/glreflib2.c: Likewise.
7248 * dlfcn/eval.c: Likewise. Add attributes.
7250 * ctype/ctype-extn.c: Define isblank and not __isblank.
7252 * time/strftime.c: Add const where necessary to avoid warnings.
7253 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7255 2000-11-22 Paul Eggert <eggert@twinsun.com>
7257 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7258 size of (size_t) -1; it's not portable.
7260 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7262 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7264 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7266 2000-11-14 Jes Sorensen <jes@linuxcare.com>
7268 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7270 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7271 _mcount is required by profiled binaries.
7273 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7274 * sysdeps/ia64/machine-gmon.h: ...here.
7276 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
7278 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7279 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7281 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7283 * iconvdata/ibm922.c: New file.
7284 * iconvdata/ibm922.h: New file.
7285 * iconvdata/ibm1124.c: New file.
7286 * iconvdata/ibm1124.h: New file.
7287 * iconvdata/ibm1129.c: New file.
7288 * iconvdata/ibm1129.h: New file.
7289 * iconvdata/testdata/IBM922: New file.
7290 * iconvdata/testdata/IBM922..UTF8: New file.
7291 * iconvdata/testdata/IBM1124: New file.
7292 * iconvdata/testdata/IBM1124..UTF8: New file.
7293 * iconvdata/testdata/IBM1129: New file.
7294 * iconvdata/testdata/IBM1129..UTF8: New file.
7296 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7298 * catgets/gencat.c (normalize_line): Take extra parameter with escape
7299 character. Change callers.
7300 (open_conversion): Determine mapping of 0x5c as wchar_t value.
7301 * catgets/Makefile: Add rules to build and run test-gencat.
7302 * catgets/sample.SJIS: New file.
7303 * catgets/test-gencat.c: New file.
7304 * catgets/test-gencat.sh: New file.
7305 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7307 2000-11-28 Andreas Jaeger <aj@suse.de>
7309 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7312 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7314 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7316 2000-11-28 Andreas Jaeger <aj@suse.de>
7318 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7320 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7323 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7325 * misc/getusershell.c: Make strings in okshells array const.
7326 * misc/regexp.c: Add const to cast to avoid warnings.
7327 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7328 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7330 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7332 * misc/error.c: Add prototypes for __error and __error_at_line.
7333 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7334 statement to avoid warning.
7335 * test-skeleton.c: Mark timeout_handler with noreturn.
7336 * iconv/skeleton.c (get16u): Add const to cast.
7338 * iconvdata/gb18030.c: Likewise.
7339 * iconvdata/iso-2022-cn-ext.c: Likewise.
7340 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7341 * iconvdata/big5.c: Likewise.
7342 * iconvdata/big5hkscs.c: Likewise.
7343 * iconvdata/iso_6937.c: Likewise.
7344 * iconvdata/iso_6937-2.c: Likewise.
7345 * iconvdata/t.61.c: Likewise.
7346 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7347 * iconvdata/unicode.c: Likewise.
7348 * iconvdata/utf-16.c: Likewise.
7349 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7350 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7351 with little code shuffling.
7353 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7354 the problems introduced when the user selects -O3.
7356 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7357 * misc/sys/cdefs.h: Define __flexarr.
7358 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7360 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7361 * iconv/skeleton.c: Likewise.
7362 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7363 * iconv/loop.c (get16): Add const to cast.
7366 2000-11-27 Andreas Jaeger <aj@suse.de>
7368 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7370 * login/programs/utmpdump.c (print_entry): Likewise.
7372 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7374 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7375 in a single asm as they may be used to access other stored
7377 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7379 2000-11-27 Andreas Jaeger <aj@suse.de>
7381 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7382 * rt/tst-aio64.c: Likewise.
7384 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7386 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7388 (libc.cat): Likewise.
7389 * catgets/gencat.c: Implement handling of message catalogs encoded
7390 with stateful character sets.
7391 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7393 2000-11-26 Ulrich Drepper <drepper@redhat.com>
7395 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7397 * inet/getnameinfo.c: Adjust casts to avoid warnings.
7398 * inet/rcmd.c: Likewise.
7399 * inet/ruserpass.c: Likewise.
7400 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7401 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7402 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7403 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7404 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7405 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7406 * include/aliases.h: Add prototypes for internal __getalias* functions.
7407 * include/netdb.h: Add prototypes for __old_gethostent_r,
7408 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7409 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7410 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7411 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7412 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7413 __old_getrpcbynumber_r, __old_getrpcent_r.
7415 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7416 __getrpcent_r prototypes.
7418 2000-11-25 Ulrich Drepper <drepper@redhat.com>
7420 * string/strcoll.c: Add casts to avoid warnings.
7421 * string/strnlen.c: Likewise.
7422 * string/strxfrm.c: Likewise.
7423 * sysdeps/generic/_strerror.c: Likewise.
7424 * sysdeps/generic/memrchr.c: Likewise.
7425 * sysdeps/generic/strcasestr.c: Likewise.
7426 * sysdeps/generic/strstr.c: Likewise.
7428 * locale/weight.h (findidx): Add const to cast to avoid warning.
7430 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7431 * elf/loadtest.c: Likewise.
7432 * elf/multiload.c: Likewise.
7433 * elf/next.c: Likewise.
7434 * elf/nodelete.c: Likewise.
7435 * elf/noload.c: Likewise.
7436 * elf/order.c: Likewise.
7437 * elf/origtest.c: Likewise.
7438 * elf/preloadtest.c: Likewise.
7439 * elf/restest1.c: Likewise.
7441 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7442 parameter of asm must be in %ecx.
7444 * string/tester.c: Mark test functions as static to avoid warnings.
7446 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7447 preserve value over different gconv-modules files.
7449 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7451 * locale/findlocale.c: Add casts to avoid warnings.
7452 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7453 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7455 * misc/tsearch.c (const_node): New type.
7456 (trecurse): Correct casts to avoid warnings.
7457 (__twalk): Likewise.
7458 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7461 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7463 * test-skeleton.c: Mark local functions as static to avoid warnings.
7465 2000-11-23 H.J. Lu <hjl@gnu.org>
7467 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7468 support the background job.
7471 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7473 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7474 has same names but lower cost.
7476 2000-11-23 Jakub Jelinek <jakub@redhat.com>
7478 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7479 which never occur during bootstrap.
7480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7482 2000-11-23 Andreas Jaeger <aj@suse.de>
7484 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7486 * nss/Versions: Remove _nss_files_getipnodebyname_r.
7488 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7490 2000-11-18 Martin Buchholz <martin@xemacs.org>
7492 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7495 2000-11-21 Alan Modra <alan@linuxcare.com.au>
7497 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7499 * csu/abi-note.S: Correct comment for operating system number.
7501 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7503 * Versions.def: Add GLIBC_2.2.1 for glibc.
7505 2000-11-22 Andreas Schwab <schwab@suse.de>
7507 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7508 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7510 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7512 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7513 absolute time for pthread_cond_timedwait call.
7514 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7516 * rt/Makefile (tests): Add tst-aio6.
7517 * rt/tst-aio6.c: New file.
7519 2000-11-23 Andreas Jaeger <aj@suse.de>
7521 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7523 2000-11-22 Andreas Jaeger <aj@suse.de>
7525 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7527 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
7529 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7531 2000-11-21 Andreas Schwab <schwab@suse.de>
7533 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7534 * sysdeps/arm/setjmp.S: Likewise.
7535 * sysdeps/arm/fpu/setjmp.S: Likewise.
7536 * sysdeps/i386/setjmp.S: Likewise.
7537 * sysdeps/i386/elf/setjmp.S: Likewise.
7538 * sysdeps/s390/setjmp.S: Likewise.
7539 * sysdeps/s390/elf/setjmp.S: Likewise.
7540 * sysdeps/sh/sh3/setjmp.S: Likewise.
7541 * sysdeps/sh/sh4/setjmp.S: Likewise.
7542 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7543 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7544 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7545 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7547 2000-11-21 Andreas Jaeger <aj@suse.de>
7549 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7550 NORETURN, fix parameter list.
7552 * string/bug-strncat1.c (main): Fix typo.
7553 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7555 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7557 * configure.in: Add --enable-all-warnings.
7558 * config.make.in (all-warnings): New variable.
7559 * Makeconfig (+gccwarn): Define with many more warnings if
7560 all-warnings is yes.
7562 2000-11-20 Jakub Jelinek <jakub@redhat.com>
7564 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7565 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7566 * malloc/tst-valloc.c (main): Cast valloc return value to long.
7567 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7568 * math/test-fpucw.c (main): Use %lx in format string, cast
7569 control words to long.
7570 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7571 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7572 large that it is unsigned warning.
7574 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7575 it to long on sparc64.
7577 2000-11-20 Andreas Jaeger <aj@suse.de>
7579 * nscd/nscd.h (termination_handler): Add noreturn attribute.
7580 (receiv_print_stats): Likewise.
7582 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7584 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7586 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7588 * csu/gmon-start.c: Always have prototype for __gmon_start.
7589 * csu/version.c: Add prototypes for __libc_print_version and
7591 * iconv/gconv.c: Include gconv_int.h and gconv.h.
7592 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7594 * iconv/gconv_builtin.h: Add ASCII module definitions.
7595 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7596 (add_module): Add cast to avoid warning. Rework construction of
7597 strings for new module.
7598 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7599 (derivation_compare): Likewise.
7600 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7601 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7602 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7603 (struct gconv_alias): Remove const from fromname and toname.
7604 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7606 (internal_ucs4_loop): Use correct const-ness.
7607 (ucs4_internal_loop): Likewise.
7608 (internal_ucs4le_loop): Likewise.
7609 (ucs4le_internal_loop_single): Likewise.
7610 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7611 to_idx, to_tbl, winbuf, winbufend const. Change casts in
7612 assignments appropriately.
7613 (struct known_trans): Remove const from fname.
7614 (trans_compare): Make s1 and s2 const.
7615 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
7617 * iconv/skeleton.c: Remove cast in calls of loop functions.
7618 * iconvdata/gconv-modules: Remove US-ASCII definitions.
7619 * iconvdata/iso646.c: Remove US_ASCII support.
7620 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7621 * include/unistd.h: Add __libc_check_standard_fds prototype.
7622 * string/bits/string2.h (__mempcpy_args): Add const to casts.
7623 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7625 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7626 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7627 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7629 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7630 __libc_init_first and _dl_start.
7631 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7632 (DCIGETTEXT): Make domaindata variable const.
7633 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7636 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7638 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7640 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7641 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7644 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7645 value defined in /usr/include/asm-mips/fcntl.h.
7647 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7649 * stdio-common/Makefile (tests): Add test-vfprintf.
7650 (test-vfprintf-ENV): New variable.
7651 * stdio-common/test-vfprintf.c: New file.
7653 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7655 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7656 (tst-mbrtowc-ENV): New variable.
7657 (tst-wcrtomb-ENV): New variable.
7658 * wcsmbs/tst-mbrtowc.c: New file.
7659 * wcsmbs/tst-wcrtomb.c: New file.
7661 2000-11-16 Andreas Jaeger <aj@suse.de>
7663 * manual/install.texi (Tools for Compilation): Update
7664 documentation for GCC 2.95.2.
7666 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7669 if IPv4 and IPv6 requests timed out.
7671 2000-11-18 Akim Demaille <akim@epita.fr>
7673 * malloc/obstack.h: Formatting changes.
7674 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7675 prevents type checking.
7676 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7677 cast the value to (void *): assigning a `foo *' to a `void *'
7679 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7681 2000-11-17 Ulrich Drepper <drepper@redhat.com>
7683 * scripts/config.guess: Update from upstream maintainer.
7684 * scripts/config.sub: Likewise.
7686 2000-11-16 Ulrich Drepper <drepper@redhat.com>
7688 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7689 * libio/freopen64.c (freopen64): Likewise.
7690 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7692 * libio/Makefile: Add rules to build and run test-freopen.
7693 * libio/test-freopen.c: New file.
7694 * libio/test-freopen.sh: New file.
7696 2000-11-15 H.J. Lu <hjl@gnu.org>
7698 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7699 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7700 (DL_DT_FINI_ADDRESS): Likewise.
7702 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7703 return type to ElfW(Addr).
7704 (_dl_function_address): New prototype.
7705 (DL_FUNCTION_ADDRESS): Defined.
7706 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7707 (DL_DT_FINI_ADDRESS): Likewise.
7709 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7711 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7712 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7714 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7715 (_dl_function_address): This.
7717 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7718 function pointer for DT_FINI.
7719 * elf/dl-close.c (_dl_close): Likewise.
7721 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7722 function pointer for DT_INIT.
7724 2000-11-16 Jakub Jelinek <jakub@redhat.com>
7726 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7727 end of wexpbuf buffer.
7729 2000-11-16 Andreas Jaeger <aj@suse.de>
7731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7732 definition of F_GETLK, F_SETLK, F_SETLKW.
7734 2000-11-16 Andreas Jaeger <aj@suse.de>
7736 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7739 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7741 * dlfcn/default.c (main): Add test for dladdr of main returning
7742 argv[0] in dli_fname field.
7744 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7746 * Makeconfig (run-program-prefix): Move test-static test into the
7749 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7750 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7751 schedule instructions.
7752 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7753 schedule instructions, fix a bug in copying auxiliary data.
7755 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7757 * manual/startup.texi (Program Arguments): Fix type of main's envp
7759 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7761 * iconvdata/gconv-modules: Add CP950 alias.
7763 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7765 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7766 syscall-list.h goal.
7767 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7769 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7771 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7773 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
7776 * intl/tst-gettext2.c: Set C locale if setting other locale
7777 failed. Use gettext() not _().
7779 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7780 successfully loaded a new locale.
7782 2000-11-13 Andreas Jaeger <aj@suse.de>
7784 * configure.in: Require gcc 2.95 or newer.
7786 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7788 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7789 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7791 2000-11-11 Jim Meyering <meyering@lucent.com>
7793 * string/strndup.c (strndup): Cast return value to `char *'.
7795 2000-11-15 Jim Meyering <meyering@ascend.com>
7797 * sysdeps/generic/memchr.c: Remove some useless parentheses.
7798 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7799 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7800 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7801 Also #undef __memchr.
7802 Use `weak_alias' only if it's defined.
7804 2000-11-10 H.J. Lu <hjl@gnu.org>
7806 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7808 2000-11-15 Andreas Jaeger <aj@suse.de>
7810 * elf/chroot_canon.c: Include <stdint.h>.
7812 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7813 (print_entry): Likewise.
7814 (add_to_cache): Likewise.
7816 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7818 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7819 (path_hwcap): Likewise.
7820 (search_dir): Likewise.
7822 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7824 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7826 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7827 (_dl_platform_string): New.
7828 (_DL_HWCAP_PLATFORM): New.
7829 (_dl_string_platform): New.
7830 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7832 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7833 (_dl_string_platform): New.
7834 (_DL_HWCAP_PLATFORM): New.
7835 (_dl_platform_string): New.
7837 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7839 (_DL_HWCAP_COUNT): New.
7840 (_dl_string_platform): New.
7841 (_DL_HWCAP_PLATFORM): New.
7842 (_dl_platform_string): New.
7844 2000-11-14 Ulrich Drepper <drepper@redhat.com>
7846 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7848 2000-11-14 Andreas Jaeger <aj@suse.de>
7850 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7852 2000-11-13 Roland McGrath <roland@frob.com>
7854 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7856 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
7858 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7859 underrun and make sure the result is null terminated even if there
7860 is no trailing newline.
7862 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7864 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7866 2000-11-10 H.J. Lu <hjl@gnu.org>
7868 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7870 2000-11-10 Andreas Jaeger <aj@suse.de>
7872 * elf/ldconfig.c (create_links): Fix alloca calculation.
7873 Patch by Ben Collins <bcollins@debian.org>.
7875 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7877 * inet/getnameinfo.c (getnameinfo): Use correct destination
7878 parameter for if_indextoname.
7879 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7881 2000-11-09 H.J. Lu <hjl@gnu.org>
7883 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7884 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7885 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7888 * time/Versions (GLIBC_2.1): Move getitimer to...
7889 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7891 2000-11-03 Bruno Haible <haible@clisp.cons.org>
7893 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7894 "make install", to work around a binary incompatibility between
7895 glibc 2.1 and glibc 2.2 gconv modules.
7897 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7899 * intl/locale.alias: Add thai.
7900 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7902 2000-11-07 Akim Demaille <akim@epita.fr>
7904 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7905 argument `data' for consistency with the prototypes.
7907 (obstack_copy, obstack_copy0): Rename the second argument as
7908 `address' for consistency. Qualify it `const'.
7909 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7910 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7911 `const' their input argument (`data' or `address').
7912 Adjust the corresponding macros to include `const' in casts.
7914 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7916 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7919 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7921 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7924 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7926 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7927 ai_protocol by internal table if service was not given.
7929 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7931 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7932 numerical port was specified with protocol without socktype.
7934 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7936 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7938 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7940 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7942 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7944 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7945 sin6_scope_id field.
7947 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7949 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7951 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7953 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7955 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7957 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7958 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7960 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
7962 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7963 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7965 2000-11-09 H.J. Lu <hjl@gnu.org>
7967 * io/Versions (GLIBC_2.1.1): Remove lockf64.
7970 See ChangeLog.11 for earlier changes.