1 2001-05-26 H.J. Lu <hjl@gnu.org>
3 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
4 to s_sigsuspend. Add s_mmap2.
6 * sysdeps/mips/atomicity.h: New file.
8 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
10 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
13 2001-05-25 Bruce Mitchener <bruce@cubik.org>
15 * manual/ctype.texi: Minor fix.
16 * manual/install.texi: Likewise.
17 * manual/startup.texi: Likewise.
18 * manual/examples/dir.c: Use perror() rather than puts().
20 2001-05-25 David Mosberger <davidm@hpl.hp.com>
22 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
23 #endif directive inside a comment to avoid compiler warnings.
25 2001-05-25 Philipp Thomas <pthomas@suse.de>
27 * nis/nis_print.c (nis_nstype2str): Don't mark names of
28 naming services for translation, only UNKNOWN needs it.
29 Add comment to prevent it for the future.
31 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
33 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
34 3.1 and non-GCC C99 compilers.
36 2001-05-22 David Mosberger <davidm@hpl.hp.com>
38 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
40 * sysdeps/ia64/memcpy.S: Likewise.
42 * sysdeps/ia64/bcopy.S: New file.
44 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
46 2001-05-26 Ulrich Drepper <drepper@redhat.com>
48 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
50 2001-05-24 Ulrich Drepper <drepper@redhat.com>
52 * iconvdata/Makefile: Add rules for CP10007.
53 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
54 * iconvdata/cp10007.c: New file.
55 * iconvdata/tst-tables.sh: Add CP10007.
57 2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
59 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
60 (_dl_runtime_profile): Likewise..
62 2001-05-23 Thorsten Kukuk <kukuk@suse.de>
64 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
65 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
67 2001-05-19 H.J. Lu <hjl@gnu.org>
69 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
70 errstring of the failed DSO to _dl_signal_error ().
72 2001-05-23 Ulrich Drepper <drepper@redhat.com>
74 * iconvdata/gconv-modules: Add more aliases to enable use in
77 2001-05-23 Andreas Jaeger <aj@suse.de>
79 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
80 Remove, it's not used anywhere anymore.
81 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
82 (CFLAGS-initfini.s): Likewise.
83 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
84 (CFLAGS-initfini.s): Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
87 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
90 2001-05-21 Bruno Haible <haible@clisp.cons.org>
92 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
93 use 0 instead, and rely on the converter to do the flush.
94 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
96 (utf8_test_2, utf8_test_3): New function.
97 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
99 2001-05-22 Jakub Jelinek <jakub@redhat.com>
101 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
103 * elf/Makefile (distribute): Add reldep4mod[1234].c.
104 (tests): Add reldep4.
105 (modules-names): Add reldep4mod[1234].
106 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
107 * elf/reldep4.c: New file.
108 * elf/reldep4mod1.c: Likewise.
109 * elf/reldep4mod2.c: Likewise.
110 * elf/reldep4mod3.c: Likewise.
111 * elf/reldep4mod4.c: Likewise.
113 2001-05-18 Jakub Jelinek <jakub@redhat.com>
115 * elf/dl-lookup.c (PROTECTED): Remove defines.
116 (add_dependency): Mark it with internal_function.
117 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
118 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
119 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
120 it if we don't want do_lookup* inlined.
122 2001-05-18 Jakub Jelinek <jakub@redhat.com>
124 * include/link.h (struct r_scope_elem): Remove r_duplist and
126 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
127 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
129 (_dl_lookup_versioned_symbol_skip): Likewise.
130 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
131 (_dl_map_object_deps): Don't compute duplicate list.
133 * elf/dl-symbol.c: Removed.
134 * elf/Makefile (routines): Remove dl-symbol.
136 2001-05-22 Ulrich Drepper <drepper@redhat.com>
138 * po/el.po: Update from translation team.
139 * po/sv.po: Likewise.
141 2001-05-20 Bruno Haible <haible@clisp.cons.org>
143 * iconvdata/cp1255.c: Completely rewritten.
144 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
145 * iconvdata/testdata/WINDOWS-1255: New file.
146 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
147 * iconvdata/TESTS: Add WINDOWS-1255 test.
148 * iconvdata/CP1255.irreversible: New file.
150 2001-05-20 Bruno Haible <haible@clisp.cons.org>
152 * iconvdata/cp1258.c: Completely rewritten.
153 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
154 * iconvdata/testdata/WINDOWS-1258: New file.
155 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
156 * iconvdata/TESTS: Add WINDOWS-1258 test.
157 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
158 the main call, and flush it afterwards.
159 (utf8_decode): Return a string, possibly containing several Unicode
161 (main): Update all utf8_decode calls.
162 * iconvdata/CP1258.irreversible: New file.
164 2001-05-20 Bruno Haible <haible@clisp.cons.org>
166 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
167 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
168 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
169 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
170 the next step. In the second case, clear the state without calling
172 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
173 data->__outbuf, and outend instead of data->__outbufend.
174 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
175 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
176 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
177 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
178 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
179 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
180 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
181 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
182 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
184 2001-05-21 Jakub Jelinek <jakub@redhat.com>
186 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
187 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
188 If match == _dl_loaded, caller can still come from the main program.
189 (_dl_vsym): Likewise.
190 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
191 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
192 * elf/restest2.c: New test.
193 * elf/Makefile (tests): Add restest2.
194 (restest2, LDFLAGS-restest2): Add rules.
196 2001-05-22 Ulrich Drepper <drepper@redhat.com>
198 * intl/Makefile: Add a few more dependencies to avoid races in the
201 2001-05-22 Andreas Jaeger <aj@suse.de>
203 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
204 Stephen L Moshier <moshier@mediaone.net>.
206 2001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
208 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
209 return addresses instead of the stack pointers.
210 * sysdeps/s390/s390-64/backtrace.c: Likewise.
212 2001-05-21 Jakub Jelinek <jakub@redhat.com>
214 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
215 bits/sigcontext.h instead of bits/sigstack.h.
216 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
217 multiple-inclusion guards.
219 2001-05-21 Andreas Jaeger <aj@suse.de>
221 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
222 Patch by Philipp Thomas <pthomas@suse.de>.
224 2001-05-17 Bruce Mitchener <bruce@cubik.org>
226 * manual/arpg.texi: Spelling, misc fixes.
227 * manual/arith.texi: Likewise.
228 * manual/crypt.texi: Likewise.
229 * manual/debug.texi: Likewise.
230 * manual/getopt.texi: Likewise.
231 * manual/intro.texi: Likewise.
232 * manual/memory.texi: Likewise.
233 * manual/nss.texi: Likewise.
234 * manual/pattern.texi: Likewise.
235 * manual/process.texi: Likewise.
236 * manual/resource.texi: Likewise.
237 * manual/search.texi: Likewise.
238 * manual/setjmp.texi: Likewise.
239 * manual/signal.texi: Likewise.
240 * manual/socket.texi: Likewise.
241 * manual/stdio.texi: Likewise.
242 * manual/string.texi: Likewise.
243 * manual/sysinfo.texi: Likewise.
244 * manual/terminal.texi: Likewise.
245 * manual/llio.texi: Document madvise().
247 2001-05-20 Roland McGrath <roland@frob.com>
249 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
250 found within $(add-ons) directories too.
251 [linuxthreads add-on]: Move variable settings for linuxthreads
252 to new file linuxthreads/Makeconfig.
254 2001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
257 Define for linux >= 2.4.5 on powerpc.
258 (__ASSUME_MMAP2_SYSCALL): Likewise.
260 2001-05-19 Roland McGrath <roland@frob.com>
262 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
263 result port when failing with ELOOP. Do the ELOOP check when
264 following an absolute symlink target as well as relative.
265 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
267 2001-05-18 Andreas Jaeger <aj@suse.de>
269 * po/fr.po: Free software is "logiciel libre".
270 Patch by Martin Michlmayr <tbm@cyrius.com>.
272 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
273 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
275 2001-05-17 David Mosberger <davidm@hpl.hp.com>
277 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
279 2001-05-17 Ulrich Drepper <drepper@redhat.com>
281 * elf/dl-profile.c (_dl_mcount): Check whether state is
282 GMON_PROF_ON before doing anything.
284 2001-05-17 H.J. Lu <hjl@gnu.org>
286 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
288 2001-05-17 Ulrich Drepper <drepper@redhat.com>
290 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
291 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
292 Reported by Mark Burton <markb@ordern.com>.
294 2001-05-17 Jakub Jelinek <jakub@redhat.com>
296 * elf/ldconfig.c (add_dir): Only warn about stat failure if
298 (search_dir): Likewise.
300 2001-05-17 Ulrich Drepper <drepper@redhat.com>
302 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
303 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
305 2001-05-14 Bruno Haible <haible@clisp.cons.org>
307 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
308 without previous announcement, reject it regularly, don't abort.
310 2001-05-16 Ulrich Drepper <drepper@redhat.com>
312 * math/tgmath.h: Fix handling of int parameters to binary and
313 ternary functions. Reported by mitr@volny.cz.
315 * math/test-tgmath.c: Add tests for calls with integer parameters.
317 2001-05-15 Jakub Jelinek <jakub@redhat.com>
319 * sunrpc/rpc_thread.c (rpc_default): Remove.
320 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
322 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
323 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
324 * sunrpc/auth_none.c (authnone_private): Fix a typo.
326 2001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
328 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
330 2001-05-16 Bruce Mitchener <bruce@cubik.org>
332 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
334 2001-05-15 Andreas Jaeger <aj@suse.de>
336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
337 Stephen L Moshier <moshier@mediaone.net>.
339 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
341 * math/libm-test.inc: Add comment with ToDo.
343 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
344 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
346 * sysdeps/i386/fpu/e_expl.S: Removed.
348 2001-05-14 Roland McGrath <roland@frob.com>
350 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
351 static pattern rule also that also covers
352 $(objpx)g$(static-start-installed-name).
353 [$(start-installed-name) != $(static-start-installed-name)]
354 (extra-objs, omit-deps, install-lib): Add
355 $(static-start-installed-name) and g$(static-start-installed-name).
356 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
357 just setting static-start-installed-name is now sufficient.
358 (extra-objs): Add static-start.o here.
359 (CFLAGS-initfini.s): Remove obsolete variable.
360 * sysdeps/mach/hurd/i386/Makeconfig: New file.
361 Define static-start-installed-name here.
363 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
364 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
366 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
367 associated hair. Instead, just use $(wildcard ...) in the include.
369 * configure.in (critic_missing, aux_missing): Collect in these vars
370 the names of the missing programs, and include them in the error msgs.
371 * configure: Regenerated.
373 2001-05-14 Andreas Jaeger <aj@suse.de>
375 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
377 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
379 2001-05-14 Stephen L Moshier <moshier@mediaone.net>
381 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
383 2001-05-11 Jakub Jelinek <jakub@redhat.com>
385 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
386 as well if swapping strings.
387 Make sure stop is not past end of second string.
388 * posix/bug-regex4.c: New test.
389 * posix/Makefile (tests): Add bug-regex4.
391 2001-05-10 Andreas Jaeger <aj@suse.de>
393 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
396 2001-05-12 Andreas Jaeger <aj@suse.de>
398 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
400 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
403 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
404 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
405 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
406 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
408 * math/math_private.h: Add prototypes for internal functions of
409 the IBM Accurate Mathematical Library.
411 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
415 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
418 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
424 * sysdeps/generic/e_rem_pio2l.c: Likewise.
425 (__ieee754_rem_pio2l): Fix prototype.
427 * math/math_private.h (__copysign): Add internal prototype.
429 2001-05-11 Andreas Jaeger <aj@suse.de>
431 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
432 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
434 2001-05-11 Andreas Jaeger <aj@suse.de>
436 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
439 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
440 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
442 2001-05-11 Roland McGrath <roland@frob.com>
444 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
445 $(build-module) here, since we don't need the full magilla.
446 Just use $(build-module-helper) and append our special options.
448 2001-05-09 Andreas Schwab <schwab@suse.de>
450 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
453 2001-05-07 H.J. Lu <hjl@gnu.org>
455 * elf/ldconfig.c (dir_entry): Add ino and dev.
456 (add_single_dir): Compare ino and dev to check if 2 directory
457 paths are the same or not. Free entry->path for duplicates.
458 (add_dir): Initialize ino and dev for entry.
459 (search_dir): Handle symlink to directory.
461 2001-05-07 Andreas Jaeger <aj@suse.de>
463 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
465 * math/libm-test.inc (exp_test): Add some more tests.
466 (pow_test): Run double only test also for long double.
468 * math/test-ldouble.c (TEST_LDOUBLE): Define.
469 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
471 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
475 * scripts/config.guess: Imported from gnu.org.
476 * scripts/config.sub: Likewise.
478 2001-05-05 Jakub Jelinek <jakub@redhat.com>
480 * include/features.h (__USE_EXTERN_INLINES): Don't define if
481 __NO_INLINE__ is defined.
482 * ctype/ctype.h (tolower, toupper): Change the guard condition to
483 __USE_EXTERN_INLINES check only.
484 * stdlib/stdlib.h (strtod, ...): Likewise.
485 * wcsmbs/wchar.h (mbrlen): Likewise.
486 * string/string.h: Only include bits/string.h and bits/string2.h
487 if __NO_INLINE__ is not defined.
489 2001-05-07 Andreas Jaeger <aj@suse.de>
491 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
494 2001-05-04 H.J. Lu <hjl@gnu.org>
496 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
499 2001-05-06 Andreas Jaeger <aj@suse.de>
501 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
502 * sysdeps/i386/fpu/e_fmodl.S: Removed.
503 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
504 * sysdeps/i386/fpu/e_atan2l.S: Removed.
505 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
506 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
507 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
508 * sysdeps/i386/fpu/e_acosl.S: Removed.
509 * sysdeps/i386/fpu/s_atanl.S: Removed.
510 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
512 2001-05-05 Mark Kettenis <kettenis@gnu.org>
514 * sysdeps/mach/hurd/bits/environments.h: Add comment from
515 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
517 2001-04-30 Jakub Jelinek <jakub@redhat.com>
519 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
520 that _CS_LFS_CFLAGS can fall through to the empty returned string
521 case. Add FALLTHROUGH comment.
523 2001-04-29 Ralf Baechle <ralf@gnu.org>
525 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
526 definitions match the kernel definitions.
527 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
528 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
530 2001-04-29 Ben Collins <bcollins@debian.org>
532 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
534 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
535 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
536 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
537 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
538 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
539 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
540 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
541 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
542 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
543 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
544 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
545 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
546 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
547 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
548 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
549 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
550 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
551 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
552 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
553 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
554 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
555 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
556 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
558 2001-04-29 Andreas Schwab <schwab@suse.de>
560 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
563 2001-04-29 Andreas Jaeger <aj@suse.de>
565 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
566 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
568 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
570 (AF_WANPIPE): Likewise.
573 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
574 for Linux generic version.
575 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
577 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
578 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
580 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
582 2001-04-27 Ulrich Drepper <drepper@redhat.com>
584 * nis/nss-nis.h: Correct test for invalid error number.
585 * nis/nss-nisplus.h: Likewise.
587 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
589 2001-04-26 Ulrich Drepper <drepper@redhat.com>
591 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
593 * string/strcoll.c: Fix two memory allocation problems.
594 * string/Makefile (tests): Add bug-strcoll1.
595 * string/bug-strcoll1.c: New file.
597 * malloc/mcheck.c (mcheck): Call malloc once before setting the
598 hooks to allow the internal check hooks to be set up if necessary.
600 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
601 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
603 * nis/nss-nis.c: New file.
604 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
605 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
607 * nis/nss-nisplus.c: New file.
608 * nis/Makefile (libnss_compat-routines): Add nss-nis.
609 (libnss_nis-routines): Likewise.
610 (libnss_nisplus-routines): Add nss-nisplus.
612 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
613 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
614 * nis/nss_nisplus/nisplus-grp.c: Likewise.
615 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
616 * nis/nss_nisplus/nisplus-network.c: Likewise.
617 * nis/nss_nisplus/nisplus-proto.c: Likewise.
618 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
619 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
620 * nis/nss_nisplus/nisplus-service.c: Likewise.
621 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
622 * nis/nss_nis/nis-alias.c: Likewise.
623 * nis/nss_nis/nis-ethers.c: Likewise.
624 * nis/nss_nis/nis-grp.c: Likewise.
625 * nis/nss_nis/nis-network.c: Likewise.
626 * nis/nss_nis/nis-proto.c: Likewise.
627 * nis/nss_nis/nis-pwd.c: Likewise.
628 * nis/nss_nis/nis-spwd.c: Likewise.
629 * nis/nss_compat/compat-grp.c: Likewise.
630 * nis/nss_compat/compat-initgroups.c: Likewise.
631 * nis/nss_compat/compat-pwd.c: Likewise.
632 * nis/nss_compat/compat-spwd.c: Likewise.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
635 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
637 2001-04-26 Andreas Jaeger <aj@suse.de>
639 * po/zh_TW.po: Update.
640 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
642 2001-04-25 Ulrich Drepper <drepper@redhat.com>
644 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
645 compiler command line.
646 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
647 command line for malloc.c.
649 2001-04-25 Jakub Jelinek <jakub@redhat.com>
651 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
652 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
653 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
654 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
656 struct msghdr for __WORDSIZE == 32.
657 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
658 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
659 for __WORDSIZE == 32.
660 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
661 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
663 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
664 Rename from longjmp, make longjmp weak alias to it.
666 2001-04-24 David S. Miller <davem@redhat.com>
668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
670 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
672 * sysdeps/hppa/stackinfo.h: New file.
673 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
674 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
675 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
676 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
677 of PA kernel features.
679 2001-04-25 Ulrich Drepper <drepper@redhat.com>
681 * locale/programs/localedef.c (main): Always set a file name for
683 * locale/programs/locfile.c (locfile_read): filename is allowed to
686 2001-04-12 Paul Bame <paul_bame@hp.com>
688 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
691 2001-04-24 Ulrich Drepper <drepper@redhat.com>
693 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
694 _XBS5_LPBIG_OFFBIG): Define to -1.
697 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
698 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
699 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
700 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
702 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
705 2001-03-21 Alan Modra <alan@one.net.au>
707 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
708 value from application so that constructors in non-PIC libs work.
710 2000-12-13 Jes Sorensen <jes@linuxcare.com>
712 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
713 function pointer, hence load the jump address and gp from the
714 function pointer before jumping.
716 2001-04-24 Andreas Jaeger <aj@suse.de>
718 * sysdeps/generic/send.c (__send): Return ssize_t.
719 * sysdeps/mach/hurd/send.c (__send): Likewise.
720 * sysdeps/mach/hurd/recv.c (recv): Likewise.
721 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
722 * sysdeps/generic/sendto.c (sendto): Likewise.
723 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
724 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
725 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
726 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
728 * socket/sys/socket.h: send* and recv* return ssize_t.
730 * include/sys/socket.h: send returns ssize_t.
732 * sysdeps/i386/fpu_control.h: Fix comments.
734 2001-04-24 Ulrich Drepper <drepper@redhat.com>
736 * sysdeps/ia64/Dist: Add hp-timing.c.
737 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
738 * posix/Makefile (distribute): Add tst-getconf.sh.
739 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
741 2001-04-23 Ulrich Drepper <drepper@redhat.com>
743 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
744 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
745 * sysdeps/ia64/hp-timing.c: New file.
746 * sysdeps/ia64/hp-timing.h: New file.
747 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
748 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
750 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
751 using #ifdef whether the clock is available.
752 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
754 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
755 it into data section.
757 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
758 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
759 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
760 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
761 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
762 * sysdeps/generic/cpuclock-init.h: Removed.
763 * sysdeps/unix/i386/i686/Implies: Removed.
764 * sysdeps/unix/i386/i686/tempname.c: Removed.
765 * sysdeps/i386/i686/Versions: New file.
766 * sysdeps/unix/i386/i586/Versions: Removed.
768 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
769 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
770 * sysdeps/unix/clock_gettime.c: Likewise.
771 * sysdeps/unix/clock_nanosleep.c: Likewise.
772 * sysdeps/unix/clock_settime.c: Likewise.
773 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
774 RANDOM_BITS use CPU clock.
776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
777 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
778 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
779 * sysdeps/sparc/Versions: New file.
781 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
782 hp-timing.h definitions.
783 * sysdeps/generic/dl-sysdep.c: Likewise.
785 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
786 __get_clockfreq prototype.
788 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
789 Use hp_timing_t type.
790 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
792 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
794 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
795 whether named file is a regular file or a block device.
796 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
798 2001-04-23 Andreas Jaeger <aj@suse.de>
800 * nscd/nscd.h: Add noreturn attribute for start_threads.
802 2001-04-22 Ulrich Drepper <drepper@redhat.com>
804 * posix/getconf.c: Fix names of XBS5 LFS test variables.
805 Add missing configuration variables from XPG6.
806 * posix/tst-getconf.c: New file.
807 * posix/Makefile (generated): Add tst-getconf.out.
808 (tests): Add ($objpfx)tst-getconf.out.
809 Add rule to run tst-getconf.sh.
810 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
812 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
814 * sysdeps/posix/pathconf.c: Likewise.
815 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
818 2001-04-22 Philip Blundell <philb@gnu.org>
820 * sysdeps/arm/fpu/feenablxcpt.c: New file.
821 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
822 * sysdeps/arm/fpu/fegetexcpt.c: New file.
824 2001-04-22 Philip Blundell <philb@gnu.org>
826 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
827 Renamed from struct user_fp.
828 (struct user_regs): New.
829 (struct user): Use struct user_regs rather than struct pt_regs to
830 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
831 of struct user_fp and struct user_fp_struct.
832 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
835 2001-04-22 Philip Blundell <philb@gnu.org>
837 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
838 sys/procfs.h, and tell the user to include that file instead.
839 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
840 surrounded with #if 0.
841 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
843 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
844 elf_fpregset_t respectively.
846 2001-04-22 Philip Blundell <philb@gnu.org>
848 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
849 address that faulted.
851 2001-04-21 Ulrich Drepper <drepper@redhat.com>
853 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
855 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
856 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
857 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
858 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
860 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
861 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
862 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
863 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
865 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
867 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
870 2001-04-21 Ulrich Drepper <drepper@redhat.com>
872 * posix/getopt.h: Treat __cplusplus like __STDC__.
874 2001-04-20 John S. Marvin <jsm@fc.hp.com>
876 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
879 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
881 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
882 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
884 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
885 entry so the ptrace.c wrapper is used.
887 2001-04-20 Alan Modra <amodra@one.net.au>
889 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
890 (DL_FUNCTION_ADDRESS): Define.
891 (DL_DT_INIT_ADDRESS): Define.
892 (DL_DT_FINI_ADDRESS): Define.
893 * sysdeps/hppa/Versions: Add _dl_function_address.
894 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
895 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
896 _dl_function_address.
898 2001-04-21 Andreas Jaeger <aj@suse.de>
900 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
901 * resolv/gai_misc.c (handle_requests): Likewise.
902 * malloc/obstack.c (print_and_abort): Likewise.
903 * malloc/mcheck.c (mabort): Likewise.
905 * sysdeps/unix/i386/i586/clock_settime.c: Include
906 "libc-internal.h" for __get_clockfreq declaration.
908 2001-04-21 Ulrich Drepper <drepper@redhat.com>
910 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
911 CPUCLOCK_INIT if defined.
912 * sysdeps/generic/dl-sysdep.c: Likewise.
913 * sysdeps/generic/cpuclock-init.h: New file.
914 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
915 * sysdeps/unix/i386/i586/Versions: New file.
916 * sysdeps/unix/i386/i586/clock_settime.c: New file.
917 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
918 separately by calling __pthread_clock_gettime if this function is
919 available. Subtract offset from tsc value before computing time value.
921 2001-04-20 Ulrich Drepper <drepper@redhat.com>
923 * iconv/iconv_prog.c (print_known_names): If printing goes not to
924 a tty print in a more machine-friendly way.
926 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
927 Contributed by Stephen L Moshier <moshier@mediaone.net>.
929 2001-04-20 Andreas Jaeger <aj@suse.de>
931 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
933 2001-04-20 Andreas Schwab <schwab@suse.de>
935 * sysdeps/m68k/fpu/libm-test-ulps: Update.
937 2001-04-19 Alan Modra <amodra@one.net.au>
939 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
940 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
941 (CFLAGS-.os): Remove.
943 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
945 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
946 gregset): Correct for new kernel definitions.
948 2001-04-19 Alan Modra <alan@linuxcare.com.au>
950 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
951 generate unwind info by hand.
953 2001-04-19 Ulrich Drepper <drepper@redhat.com>
955 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
957 * configure.in: Correct regular expression for msgfmt.
958 Patch by Bruno Haible <haible@ilog.fr>.
960 2001-04-19 Andreas Jaeger <aj@suse.de>
962 * po/el.po: Add comment explaining what's broken.
964 * po/Makefile (BROKEN_LINGUAS): New.
965 (ALL_LINGUAS): Don't add broken languages.
967 2001-04-19 Roland McGrath <roland@frob.com>
969 * sysdeps/mach/hurd/mlock.c: New file.
970 * sysdeps/mach/hurd/munlock.c: New file.
971 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
973 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
974 * sysdeps/generic/mlock.c: New file.
975 * sysdeps/generic/munlock.c: New file.
976 * sysdeps/generic/mlockall.c: New file.
977 * sysdeps/generic/munlockall.c: New file.
978 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
979 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
980 mlockall, munlockall): Change caller field to - from EXTRA.
981 Don't use __ names; not used (and not declared in include/sys/mman.h).
983 * hurd/privports.c (__get_privileged_ports): Renamed with __.
984 Use __ names for calls we make.
985 (get_privileged_ports): Add alias.
986 * hurd/hurd.h: Declare it with the __ name.
987 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
988 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
989 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
991 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
992 nothing if it's zero.
994 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
996 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
997 Change to return a signed result for compatibility with other
998 architectures, and correctness.
1000 2001-04-19 Ulrich Drepper <drepper@redhat.com>
1002 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
1003 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
1005 2001-04-19 Andreas Jaeger <aj@suse.de>
1007 * configure.in: Require gettext 0.10.36 or newer.
1009 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
1011 * po/zh_TW.po: Remove extraneous backslashes.
1013 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
1016 2001-04-18 Jakub Jelinek <jakub@redhat.com>
1018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
1020 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
1021 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
1022 Copy first word of uc_sigmask into __uc_sigmask.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
1024 Save uc_link around trap. Copy __uc_sigmask into first word of
1025 uc_sigmask, clear the rest. Make sure setcontext to the created
1026 context doesn't do this though.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
1028 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
1029 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
1030 64bit version, make uc_sigmask __sigset_t in the 32bit version.
1032 2001-04-19 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
1036 * rt/Makefile (otherlibs): Added for static NSS.
1038 * glibcbug.in (BUGGLIBC): Send to new alias.
1040 2001-04-02 Andreas Schwab <schwab@suse.de>
1042 * Makerules (build-module): Make sure exit codes get checked
1043 properly and remove unnecessary slashes.
1045 2001-04-17 Ulrich Drepper <drepper@redhat.com>
1047 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1048 Handle kernels which report only three digits after the decimal point.
1049 Reported by Van Okamura <van.okamura@oracle.com>.
1051 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
1053 2001-04-17 David S. Miller <davem@redhat.com>
1055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
1056 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1058 2001-04-17 Jakub Jelinek <jakub@redhat.com>
1060 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
1061 desired exceptions are raised for exceptional values.
1062 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
1063 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
1064 clog_test, log_test, log1p_test, tan_test): Increase precision of
1065 expected values to satisfy ldbl-128.
1066 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
1067 * sysdeps/arm/libm-test-ulps: Likewise.
1068 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1069 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1070 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1071 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1072 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1073 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1074 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1078 2001-04-17 Andreas Jaeger <aj@suse.de>
1080 * configure.in: Move test for critical programs up.
1082 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
1084 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
1085 Correct the values. (pSx, qSx): Replace by shorter approximation.
1086 Use f suffix on float constants.
1088 2001-04-16 Ulrich Drepper <drepper@redhat.com>
1090 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
1091 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1093 * string/string.h: Replace const in attribute list with __const__.
1095 2001-04-16 Roland McGrath <roland@frob.com>
1097 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
1098 instead of the constant NGROUPS_MAX. That way, the limit can be
1099 raised in the kernel configuration without having to recompile libc.
1101 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
1102 define NGROUPS_MAX; we don't use it here.
1104 2001-04-16 Andreas Jaeger <aj@suse.de>
1106 * math/libm-test.inc (atan2_test): Add more testcases.
1108 * iconv/gconv_db.c: Include gconv_charset.h for
1109 __gconv_lookup_alias prototype.
1111 2001-04-13 Ulrich Drepper <drepper@redhat.com>
1113 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
1114 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1116 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1118 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
1120 2001-04-13 Jes Sorensen <jes@linuxcare.com>
1122 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
1123 explicitly pad struct siginfo instead of relying on compiler padding.
1125 2001-04-12 Ulrich Drepper <drepper@redhat.com>
1127 * sysdeps/ia64/Dist: Add elf/entry.h.
1129 * iconvdata/Makefile (distribute): Add TESTS2.
1131 2001-04-13 Jakub Jelinek <jakub@redhat.com>
1133 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
1134 Calculate load address differently.
1136 2001-04-12 Bruno Haible <haible@clisp.cons.org>
1138 * iconvdata/TESTS2: New file.
1139 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
1140 * iconvdata/testdata/alfabeta..UTF-8: New file.
1141 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
1142 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
1143 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
1144 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
1146 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1148 * iconvdata/utf-32.c: New file.
1149 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
1150 * iconvdata/Makefile (modules): Add UTF-32.
1151 (distribute): Add utf-32.c.
1153 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1155 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
1156 changing it in the state. After incrementing 'inptr', store it back.
1157 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
1160 2001-04-11 Bruno Haible <haible@clisp.cons.org>
1162 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
1165 2001-04-11 David Mosberger <davidm@hpl.hp.com>
1167 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
1168 * sysdeps/ia64/htons.S: Likewise.
1170 * sysdeps/ia64/memset.S: Add unwind directives.
1171 * sysdeps/ia64/strncpy.S: Likewise.
1172 * sysdeps/ia64/strcat.S: Likewise.
1174 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
1176 * sysdeps/ia64/strchr.S: Likewise.
1177 * sysdeps/ia64/memmove.S: Likewise.
1178 * sysdeps/ia64/memcpy.S: Likewise.
1179 * sysdeps/ia64/memcmp.S: Likewise.
1180 * sysdeps/ia64/memchr.S: Likewise.
1181 * sysdeps/ia64/strcmp.S: Likewise.
1182 * sysdeps/ia64/strlen.S: Likewise.
1183 * sysdeps/ia64/strcpy.S: Likewise.
1184 * sysdeps/ia64/strncmp.S: Likewise.
1186 2001-04-11 Jakub Jelinek <jakub@redhat.com>
1188 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
1189 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
1190 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
1191 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
1193 2001-04-11 Andreas Jaeger <aj@suse.de>
1195 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
1197 2001-04-11 Andreas Schwab <schwab@suse.de>
1199 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
1201 2001-04-11 Ulrich Drepper <drepper@redhat.com>
1203 * sysdeps/arm/stackinfo.h: New file.
1205 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
1207 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
1208 rpcgen to generate thread safe code.
1210 2001-04-10 Andreas Jaeger <aj@suse.de>
1212 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
1214 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1216 * elf/dl-minimal.c (__assert_fail): Change error string. It's
1217 most of the time no bug in ld.so.
1218 (__assert_perror_fail): Likewise.
1220 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
1222 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
1223 from struct to unsigned int.
1225 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1227 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
1228 AT_IGNOREPPC): New defines.
1229 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
1230 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1231 Define for newer powerpc kernels.
1232 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
1233 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
1235 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
1237 * sysdeps/sh/stackinfo.h: New file.
1239 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1241 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
1242 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
1243 __ctype_tolower, and __ctype_toupper elements.
1245 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
1246 Reported by Konstantin Osipov <rabid@spylog.ru>.
1248 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
1251 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
1254 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
1255 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
1256 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
1258 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1260 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
1261 message. Based on a patch by HJ Lu.
1263 2001-04-10 Andreas Schwab <schwab@suse.de>
1265 * math/libm-test.inc (csinh_test): Don't require the invalid
1266 exception for csinh (x + iNaN), but make it optional.
1268 2001-04-09 David Mosberger <davidm@hpl.hp.com>
1270 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
1272 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
1273 * sysdeps/ia64/elf/entry.h: New file.
1274 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
1276 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
1278 * sysdeps/generic/dl-sysdep.c: Likewise.
1279 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1280 * sysdeps/ia64/elf/start.S: Save base address of register backing
1281 store in __libc_ia64_register_backing_store_base.
1283 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
1285 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
1286 value of getcontext.
1287 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1288 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
1289 value of setcontext.
1290 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1291 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
1292 call by changing the saved context.
1294 2001-04-10 Ulrich Drepper <drepper@redhat.com>
1296 * sysdeps/alpha/stackinfo.h: New file.
1297 * sysdeps/ia64/stackinfo.h: New file.
1299 2001-04-10 Andreas Schwab <schwab@suse.de>
1301 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
1303 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1305 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1307 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
1308 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
1310 * libio/Makefile (distribute): Add fd_to_filename.h.
1312 2001-04-05 David S. Miller <davem@redhat.com>
1314 Add hp-timing support for sparcv9/sparc64 targets.
1315 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
1316 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
1317 * sysdeps/sparc/sparc64/hp-timing.c: New file
1318 * sysdeps/sparc/sparc64/hp-timing.h: New file
1319 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
1320 * sysdeps/sparc/sparc64/Makefile: Likewise.
1322 2001-04-09 Jakub Jelinek <jakub@redhat.com>
1324 * sysdeps/generic/fd_to_filename.h: New file.
1325 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
1326 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
1327 filename from the open file descriptor.
1328 * libio/freopen64.c (freopen64): Likewise.
1330 2001-04-09 Bruno Haible <haible@clisp.cons.org>
1332 * misc/error.c (error): fflush stdout also if
1333 error_print_progname != NULL.
1334 (error_at_line): Likewise.
1336 2001-04-07 Bruno Haible <haible@clisp.cons.org>
1338 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
1339 (struct binding): Add codeset_cntr field.
1340 (_nl_load_domain): Add domainbinding argument.
1341 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
1342 (_nl_find_msg): New declaration, moved here from loadinfo.h.
1343 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
1344 (_nl_make_l10nflist): Remove domainbinding argument.
1345 (_nl_find_msg): Move declaration to gettextP.h.
1346 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
1347 to 0. Increment it when ->codeset is changed.
1348 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
1349 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
1350 if domainbinding->codeset_cntr has been incremented.
1351 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
1352 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
1353 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
1354 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
1355 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
1356 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
1357 (_nl_load_domain): Add domainbinding argument. Call
1358 _nl_init_domain_conv.
1359 (_nl_unload_domain): Call _nl_free_domain_conv.
1360 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
1361 (test-srcs): Add tst-codeset.
1362 (tests): Depend on tst-codeset.out.
1363 (tst-codeset.out): New rule.
1364 (CFLAGS-tst-codeset.c): New variable.
1365 * intl/tst-codeset.sh: New file.
1366 * intl/tstcodeset.po: New file.
1367 * intl/tst-codeset.c: New file.
1368 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
1371 2001-04-07 Roland McGrath <roland@frob.com>
1373 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
1375 2001-03-31 Roland McGrath <roland@frob.com>
1377 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
1378 copying send rights into child. When we hit our name for our proc
1379 port, just copy NEWPROC directly instead of repeating proc_task2proc
1380 to install the child's port.
1382 2001-04-08 Roland McGrath <roland@frob.com>
1384 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
1385 in second column, to provide default values for third column.
1386 * shlib-versions: Add comments about using DEFAULT in second column.
1387 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
1388 (cris-.*-linux.*): Likewise.
1390 2001-04-09 Ulrich Drepper <drepper@redhat.com>
1392 * Makefile (distribute): Add scripts/documented.sh.
1393 * scripts/documented.sh: New file.
1395 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1397 * sysdeps/unix/sysv/linux/cris/Dist: New file.
1398 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
1399 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
1400 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
1401 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
1402 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
1403 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
1404 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
1405 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
1406 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
1407 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
1408 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
1409 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
1410 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
1411 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
1412 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
1413 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
1414 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
1415 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
1416 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
1417 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
1418 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
1419 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
1420 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
1421 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
1422 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
1423 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
1424 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
1425 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
1426 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
1427 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
1428 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
1429 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
1430 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
1431 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
1432 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
1433 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
1434 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
1435 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
1436 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
1437 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
1438 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
1439 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
1440 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
1441 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
1442 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
1443 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
1444 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
1445 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
1446 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
1448 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1450 * sysdeps/cris/Dist: New file.
1451 * sysdeps/cris/Implies: New file.
1452 * sysdeps/cris/Makefile: New file.
1453 * sysdeps/cris/__longjmp.S: New file.
1454 * sysdeps/cris/_mcount.S: New file.
1455 * sysdeps/cris/bits/endian.h: New file.
1456 * sysdeps/cris/bits/setjmp.h: New file.
1457 * sysdeps/cris/bits/string.h: New file.
1458 * sysdeps/cris/dl-machine.h: New file.
1459 * sysdeps/cris/elf/start.S: New file.
1460 * sysdeps/cris/machine-gmon.h: New file.
1461 * sysdeps/cris/memcopy.h: New file.
1462 * sysdeps/cris/memusage.h: New file.
1463 * sysdeps/cris/setjmp.S: New file.
1464 * sysdeps/cris/sysdep.h: New file.
1465 * sysdeps/cris/wordcopy.c: New file.
1467 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1469 * elf/elf.h: Add new relocations for CRIS.
1471 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1473 * shlib-versions: Add cases for Linux on CRIS.
1475 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1477 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1478 ';' for comments and '@' for line separator.
1480 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1482 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1483 typo; s/==/=/ for assignment.
1485 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1487 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1489 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1491 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1492 empty input before checking full output.
1494 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1496 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1499 2001-04-08 Ulrich Drepper <drepper@redhat.com>
1501 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1503 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
1505 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1508 2001-04-07 Ulrich Drepper <drepper@redhat.com>
1510 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1512 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1513 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1514 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1515 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1516 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1517 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1519 2001-04-07 Andreas Jaeger <aj@suse.de>
1521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1522 instead of separate sin and cos.
1523 (__ieee754_j1l): Likewise.
1525 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1527 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
1529 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
1531 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1533 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1535 * sysdeps/generic/e_scalbf.c: Likewise.
1536 * sysdeps/generic/e_scalbl.c: Likewise.
1537 Patch by Mark Hatle <fray@mvista.com>.
1539 2001-04-05 David S. Miller <davem@redhat.com>
1541 * sysdeps/sparc/abort-instr.h: New file.
1543 2001-04-05 Matt Wilson <msw@redhat.com>
1545 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1546 added code to parse new 2.4 format.
1547 (GET_NPROCS_CONF_PARSER): Likewise.
1549 2001-04-05 David S. Miller <davem@redhat.com>
1551 * scripts/config.sub: Recognize sparcv9b like sparcv9.
1552 * configure.in: Add sparcv9b.
1553 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1554 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1555 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1557 2001-04-06 David Mosberger <davidm@hpl.hp.com>
1559 * stdlib/tst-setcontext.c: Move st2[] to global scope.
1560 (f2): Verify that stack pointer is inside st2[].
1562 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1563 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1565 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1567 * timezone/antarctica: Update from tzdata2001b.
1568 * timezone/asia: Likewise.
1569 * timezone/australasia: Likewise.
1570 * timezone/europe: Likewise.
1571 * timezone/northamerica: Likewise.
1573 * iconv/iconv_open.c: Move strip and upstr definitions...
1574 * iconv/gconv_charset.h: ...here. New file.
1575 * iconv/gconv_db.c (once): Move to file level.
1576 (do_lookup_alias): Split out from __gconv_find_transform.
1577 (__gconv_find_transform): Call do_lookup_alias.
1578 (__gconv_loopup_alias): New function.
1579 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1581 * locale/categories.def: Add entries for new _NL_*_CODESET values.
1582 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1583 * locale/C-address.c: Initialize _NL_*_CODESET element.
1584 * locale/C-collate.c: Likewise.
1585 * locale/C-identification.c: Likewise.
1586 * locale/C-measurement.c: Likewise.
1587 * locale/C-messages.c: Likewise.
1588 * locale/C-monetary.c: Likewise.
1589 * locale/C-name.c: Likewise.
1590 * locale/C-numeric.c: Likewise.
1591 * locale/C-paper.c: Likewise.
1592 * locale/C-telephone.c: Likewise.
1593 * locale/C-time.c: Likewise.
1594 * locale/localeinfo.h: Declare _nl_C_codeset.
1595 * locale/C_name.c: Define _nl_C_codeset.
1596 * locale/findlocale.c: Before accepting locale check that the used
1597 charset does not conflict with what the locale name said.
1598 * locale/programs/ld-address.c: Emit codeset information.
1599 * locale/programs/ld-collate.c: Likewise.
1600 * locale/programs/ld-identification.c: Likewise.
1601 * locale/programs/ld-measurement.c: Likewise.
1602 * locale/programs/ld-messages.c: Likewise.
1603 * locale/programs/ld-monetary.c: Likewise.
1604 * locale/programs/ld-name.c: Likewise.
1605 * locale/programs/ld-numeric.c: Likewise.
1606 * locale/programs/ld-paper.c: Likewise.
1607 * locale/programs/ld-telephone.c: Likewise.
1608 * locale/programs/ld-time.c: Likewise.
1610 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1611 if the locale data couldn't be found.
1613 * string/Makefile: Define tst-strxfrm-ENV.
1615 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1617 2001-04-06 Andreas Jaeger <aj@suse.de>
1619 * include/sys/profil.h: New file.
1621 * dlfcn/modatexit.c: Add prototypes to silence GCC.
1622 * dlfcn/modcxaatexit.c: Likewise.
1623 * elf/globalmod1.c: Likewise.
1625 2001-04-05 David S. Miller <davem@redhat.com>
1627 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1628 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1629 capability flags table and HWCAP_IMPORTANT, increase
1630 _DL_HWCAP_COUNT to 6.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1633 2001-04-04 David Mosberger <davidm@hpl.hp.com>
1635 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1636 initialization of stack_end (bug reported by Zheng Gengbin
1637 <gzheng@students.uiuc.edu>).
1639 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1641 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1643 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1645 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1647 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1649 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1650 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
1652 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1654 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1656 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1657 define simple replacements here. Patch by Michael Keezer.
1659 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1660 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1661 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1663 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1666 2001-04-01 Andreas Jaeger <aj@suse.de>
1668 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1671 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1673 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1675 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1676 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1678 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
1680 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1681 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1682 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1684 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1685 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1686 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1687 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1688 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1690 2001-04-04 Andreas Jaeger <aj@suse.de>
1692 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1695 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1697 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1698 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1699 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1700 (unsigned_dec): Likewise.
1701 Patch by atai@jezebel.dreamhost.com.
1703 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1704 pointer to int as last parameter of yp_match.
1705 Patch by kanazawa@flab.fujitsu.co.jp.
1707 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1709 * resolv/netdb.h (gai_strerror): Make return value const.
1710 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1711 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1712 Add strings for new error values.
1714 2001-03-29 Michael Keezer <mkeezer@redhat.com>
1716 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1717 * login/tst-utmp.c: Handle case where ut_tv is not available but
1719 * sysdeps/unix/sysv/aix/utmpx.h: New file.
1720 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1721 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1722 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1723 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1724 to access RTCU timer reg.
1725 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1726 added dl-libc, dl-open,dl-sym, dl-close to misc.
1727 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
1728 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
1729 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
1730 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
1731 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
1732 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
1733 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1735 * sysdeps/generic/strtoull.c: Likewise.
1736 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1737 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1738 sysdeps/generic/memset.c.
1739 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1741 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1743 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1744 * locale/programs/charmap.c: Define null_pointer if
1745 NEED_NULL_POINTER is defined.
1747 * misc/dirname.c (dirname): Handle multiple slashes correctly.
1749 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1751 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1753 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1755 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1756 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1757 * sysdeps/s390/s390-32/mempcy.S: Likewise.
1758 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1760 2001-04-02 Bruno Haible <haible@clisp.cons.org>
1762 * manual/message.texi (Advanced gettext functions): More specific
1763 syntax in the plural formula examples.
1765 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1767 * sysdeps/powerpc/atomicity.h: Silence warnings.
1768 * sysdeps/powerpc/dl-machine.h: Likewise.
1769 * sysdeps/powerpc/register-dump.h: Likewise.
1770 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1772 2001-04-02 Andreas Jaeger <aj@suse.de>
1774 * misc/tst-dirname.c (main): Add more tests, derived from a bug
1775 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1777 2001-04-01 Andreas Jaeger <aj@suse.de>
1779 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1781 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1783 2001-04-01 H.J. Lu <hjl@gnu.org>
1785 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1787 * stdlib/isomac.c (macrofile): Likewise.
1789 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
1791 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1792 * nis/ypclnt.c (yp_all): Print error message only at last try,
1793 check for protocoll error only if we don't have a network error.
1795 2001-04-02 Andreas Schwab <schwab@suse.de>
1797 * resolv/res_data.c (res_isourserver): Fix cast.
1799 2001-04-02 Andreas Jaeger <aj@suse.de>
1801 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1804 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1806 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1808 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1810 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1812 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1813 warning about unused variable.
1815 * string/string.h (strndupa): Add cast for C++ conformance.
1816 (strdupa): Likewise.
1817 Fixes PR libc/2173, reported by tbrowder@home.com.
1819 2001-03-30 Roland McGrath <roland@frob.com>
1821 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1822 options after $(build-module), which is no longer a single command.
1823 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1824 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1825 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
1827 2001-03-11 Roland McGrath <roland@frob.com>
1829 * elf/rtld.c (dl_main): Add cast to quiet warning.
1830 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1831 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1832 (__gconv_read_conf): Likewise.
1833 * iconv/gconv_db.c (gen_steps): Likewise.
1834 (__gconv_find_transform): Likewise.
1835 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1836 (fopen_uncompressed): Use const in second argument's type.
1838 2001-03-11 Roland McGrath <roland@frob.com>
1840 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1842 * mach/mach_error.h: Fix ancient #endif syntax.
1843 * hurd/hurdmalloc.c: Likewise.
1845 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1846 compare_and_swap): Add volatile qualifier to first arg, to bring
1847 these prototypes in line with all the other implementations.
1848 Add a #warning to remind the builder that these are not atomic.
1850 2001-03-04 Roland McGrath <roland@frob.com>
1852 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1853 member of TEMP_F so its type is _IO_FILE * as expected.
1855 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1856 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
1857 it might exceed off_t's range.
1859 2001-02-25 Roland McGrath <roland@frob.com>
1861 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1862 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1864 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1865 macro instead of an inline function,
1866 (MSG_EXAMINE): Likewise.
1868 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1870 * hurd/get-host.c: Include <string.h> for decls of built-ins.
1871 * hurd/hurdchdir.c: Likewise.
1872 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1873 * sysdeps/mach/hurd/opendir.c: Likewise.
1875 * mach/mach_init.c: Include <unistd.h> for _exit decl.
1877 * mach/errsystems.awk: Give output file a trailing newline.
1879 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1880 the script will use our compiler for the cpp stage.
1882 With --enable-all-warnings we get a whole bunch of warnings,
1883 and these are just a few fixes; there are more needed to silence it.
1884 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1885 decls before extern inline defns to quiet gcc warning.
1886 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1887 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1889 2001-03-31 Andreas Jaeger <aj@suse.de>
1891 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1892 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1893 (ARPHRD_CISCO): New.
1894 Changes from Linux 2.4.3.
1896 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
1898 * posix/regex.c: Avoid an access violation if malloc failes.
1900 2001-03-30 Andreas Jaeger <aj@suse.de>
1902 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1904 2001-03-29 Ulrich Drepper <drepper@redhat.com>
1906 * posix/regex.c: Remove unnecessary ifs.
1908 * math/bits/mathcalls.h: Remove infnan declaration.
1910 2001-03-29 H.J. Lu <hjl@gnu.org>
1912 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1913 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1914 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1916 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
1918 * posix/regex.c: Fix typo and add a sentinel.
1920 2001-03-29 Ulrich Drepper <drepper@redhat.com>
1922 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1923 O_NOFOLLOW. Suggested by Christoph Roland.
1925 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1927 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1928 * sysdeps/s390/s390-32/bits/string.h: Remove.
1929 * sysdeps/s390/s390-64/bits/string.h: Remove.
1930 * sysdeps/s390/s390-32/strcmp.S: New file.
1931 * sysdeps/s390/s390-64/strcmp.S: New file.
1933 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1935 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1936 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1938 2001-03-27 Ulrich Drepper <drepper@redhat.com>
1940 * version.h (VERSION): Bump to 2.2.3.
1942 * stdlib/isomac.c (fmt): Don't define _LIBC.
1943 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1944 LOW_HALF only if _LIBC is defined.
1946 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1948 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1950 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1952 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
1953 * include/endian.h: ...to here.
1955 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
1957 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1958 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1960 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1962 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1964 2001-03-26 Ulrich Drepper <drepper@redhat.com>
1966 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1967 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1968 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1970 * gmon/Makefile (headers): Add sys/profil.h.
1972 2001-03-18 Andreas Jaeger <aj@suse.de>
1974 * manual/install.texi (Tools for Compilation): Advise to use GCC
1976 (Supported Configurations): Mention s390x.
1978 2001-03-26 Ben Collins <bcollins@debian.org>
1980 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1981 defines to match other architectures.
1983 2001-03-26 Ulrich Drepper <drepper@redhat.com>
1985 * libio/Makefile (tests): Add tst-ext.
1986 * libio/tst-ext.c: New file.
1988 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1990 2001-03-25 Ulrich Drepper <drepper@redhat.com>
1992 Add changes which were in this form in the original patch by
1993 Eric Norum <eric.norum@usask.ca>.
1994 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1996 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1997 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1998 __rpc_thread_svc_max_pollfd.
1999 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
2001 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
2003 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
2004 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
2005 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
2006 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
2007 __rpc_thread_svc_max_pollfd.
2008 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
2010 * sunrpc/clnt_perr.c: Likewise.
2011 * sunrpc/clnt_simp.c: Likewise.
2012 * sunrpc/clnt_tcp.c: Likewise.
2013 * sunrpc/clnt_udp.c: Likewise.
2014 * sunrpc/clnt_unix.c: Likewise.
2015 * sunrpc/pm_getport.c: Likewise.
2017 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
2018 syscall checks for negative n so don't test here as well.
2020 2001-03-23 Jes Sorensen <jes@linuxcare.com>
2022 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
2023 * sysdeps/ia64/sysdep.h: ...here.
2025 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
2026 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
2028 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
2029 declare instead of LEAF(). Suggestion from David Mosberger.
2031 2001-03-21 David Mosberger <davidm@hpl.hp.com>
2033 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
2035 (PSEUDO): Drop .psr and .lsb directives.
2037 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
2039 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
2041 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
2043 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
2044 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
2045 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
2046 longer needed). Add unwind directives.
2048 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
2049 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
2051 2001-03-21 Paul Eggert <eggert@twinsun.com>
2053 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
2054 (RE_SYNTAX_POSIX_EGREP): Use it.
2055 * posix/regex.c (regex_compile): Implement it.
2057 2001-03-21 Paul Eggert <eggert@twinsun.com>
2059 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
2060 Rewrite to avoid duplicate code.
2062 2001-03-21 H.J. Lu <hjl@gnu.org>
2064 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
2065 for cross-compiling.
2066 ($(objpfx)tst-pathopt.out): Undo the last change.
2068 2001-03-24 Mark Kettenis <kettenis@gnu.org>
2070 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
2071 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
2073 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
2074 (_dl_argv): Declare.
2075 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
2077 2001-03-22 Andreas Jaeger <aj@suse.de>
2079 * iconvdata/Makefile (generated): Add iconv-test.xxx.
2081 * posix/Makefile (generated): Add bug-regex2.mtrace and
2084 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2086 * csu/version.c (__gnu_get_libc_release): Add prototype.
2087 (__gnu_get_libc_version): Likewise.
2088 * include/gnu/libc-version.h: Remove prototypes for not exported
2091 2001-03-21 Jes Sorensen <jes@linuxcare.com>
2093 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
2094 for internationalized printfs to work.
2096 2001-03-09 Bruno Haible <haible@clisp.cons.org>
2098 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
2099 avoid compiler warning.
2100 (_nl_find_msg): Add casts to avoid compiler warnings.
2102 2001-03-21 Ulrich Drepper <drepper@redhat.com>
2104 * gmon/Makefile (routines): Add sprofil.
2105 (tests): Add tst-sprofil.
2106 (noprof): Add sprofil.
2107 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
2109 2001-03-20 David Mosberger <davidm@hpl.hp.com>
2111 * sysdeps/generic/sprofil.c: New file.
2112 * sysdeps/posix/sprofil.c: New file.
2113 * gmon/tst-sprofil.c: New file.
2114 * gmon/sys/profil.h: New file.
2116 2001-03-20 Andreas Schwab <schwab@suse.de>
2118 * include/unistd.h: Adjust prototype of __gethostname.
2120 2001-03-20 Jakub Jelinek <jakub@redhat.com>
2122 * sysdeps/sparc/stackinfo.h: New file.
2124 2001-03-21 Andreas Jaeger <aj@suse.de>
2126 * elf/global.c (main): Use proper prototype.
2128 2001-03-20 Ulrich Drepper <drepper@redhat.com>
2130 * sunrpc/Makefile (routines): Add rpc_thread.
2131 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
2132 * sunrpc/rpc_thread.c: New file.
2133 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
2134 * sunrpc/auth_none.c: Don't use global variables. Access state in
2135 thread-local storage.
2136 * sunrpc/clnt_perr.c: Likewise.
2137 * sunrpc/clnt_raw.c: Likewise.
2138 * sunrpc/clnt_simp.c: Likewise.
2139 * sunrpc/key_call.c: Likewise.
2140 * sunrpc/rpc_common.c: Likewise.
2141 * sunrpc/svc.c: Likewise.
2142 * sunrpc/svc_raw.c: Likewise.
2143 * sunrpc/svc_simple.c: Likewise.
2144 * sunrpc/svcauth_des.c: Likewise.
2145 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2146 _HURD_THREADVAR_RPC_VARS.
2147 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
2148 * include/rpc/rpc.h: Define data structures for internal thread-local
2150 Based on patches by Eric Norum <eric.norum@usask.ca>.
2152 * elf/dl-load.c: Various little optimizations.
2154 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
2155 LINUX_LINK_MAX only if the statfs function is not implemented for
2158 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
2159 LINUX_LINK_MAX only if the fstatfs function is not implemented for
2162 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2164 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
2166 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
2167 (_dl_dst_substitute): Likewise.
2169 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2171 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
2173 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2175 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
2176 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
2177 union by a 'nargs' counter and an 'args[]' array.
2178 * intl/plural.y: Don't include stdarg.h.
2179 (new_exp): Take an array of arguments instead of varargs.
2180 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
2181 ('?' ':'): Make right-associative.
2182 (EQUOP2): New token, replaces '=' and '!'.
2183 (CMPOP2): New token.
2184 (ADDOP2): New token, replaces '+' and '-'.
2185 (MULOP2): New token, replaces '*', '/' and '%'.
2187 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
2188 (start): Call YYABORT here.
2189 (FREE_EXPRESSION): Update.
2190 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
2191 Update for new token symbols.
2192 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
2193 init_germanic_plural): Update.
2194 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
2195 (plural_eval): Recognize comparison and '!' operators. Optimize for
2198 2001-03-10 Bruno Haible <haible@clisp.cons.org>
2200 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
2203 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2205 * intl/loadmsgcat.c: Include headers needed for alloca().
2207 (_nl_load_domain): Add fallback code for platforms lacking alloca.
2208 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
2210 (read_alias_file): Simplify fallback code for platforms lacking
2213 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2215 * intl/gettextP.h (__gettextdebug): Remove declaration.
2216 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
2218 (gettext_free_exp__, gettextparse__): New non-libc declarations.
2219 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
2220 not __gettextparse, __gettext_free_exp.
2221 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
2223 2001-02-24 Bruno Haible <haible@clisp.cons.org>
2225 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
2227 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2229 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
2230 lacking strtoul, like SunOS4.
2232 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2234 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
2236 2001-01-05 Bruno Haible <haible@clisp.cons.org>
2238 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
2240 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
2241 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
2242 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
2245 2001-01-07 Bruno Haible <haible@clisp.cons.org>
2247 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
2248 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
2250 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
2251 * intl/dcgettext.c: Likewise.
2252 * intl/dcigettext.c: Likewise.
2253 * intl/dcngettext.c: Likewise.
2254 * intl/dngettext.c: Likewise.
2255 * intl/finddomain.c: Likewise.
2256 * intl/ngettext.c: Likewise.
2257 * intl/textdomain.c: Likewise.
2258 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
2260 * intl/gettext.c: Likewise. Don't include locale.h.
2262 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2264 * intl/gettextP.h (ZERO): New macro.
2265 (struct binding): Always use ZERO.
2266 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
2267 lack it, like SunOS4.
2268 (set_binding_values): Use offsetof, not sizeof.
2269 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
2270 lack it, like SunOS4.
2271 (ZERO): Remove macro.
2272 (struct transmem_list): Use ZERO.
2273 (DCIGETTEXT): Use offsetof, not sizeof.
2275 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2277 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
2279 * intl/bindtextdom.c: Don't include gettext.h.
2280 * intl/dcgettext.c: Likewise.
2281 * intl/dcigettext.c: Likewise.
2282 * intl/dcngettext.c: Likewise.
2283 * intl/dngettext.c: Likewise.
2284 * intl/finddomain.c: Likewise.
2285 * intl/localealias.c: Likewise.
2286 * intl/ngettext.c: Likewise.
2287 * intl/plural.y: Likewise.
2288 * intl/textdomain.c: Likewise.
2290 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2292 * intl/gettext.h: Don't include <stdio.h>.
2294 2001-03-17 Bruno Haible <haible@clisp.cons.org>
2296 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
2297 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
2299 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2301 * sysdeps/unix/i386/i686/tempname.c: New file.
2303 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
2304 defined use this macro to get some bits of randomness instead of
2305 the usual gettimeofday or time calls.
2307 2001-03-16 Paul Eggert <eggert@twinsun.com>
2309 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
2310 not defined, and if UINT64_MAX is not defined.
2312 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2314 * elf/cache.c: Mark and have translated a few more messages.
2316 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2318 * elf/cache.c: Add case for FLAG_S390_LIB64.
2319 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
2320 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
2321 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
2323 2001-03-19 Ulrich Drepper <drepper@redhat.com>
2325 * string/Makefile (tests): Add tst-strxfrm.
2326 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
2327 * string/Depend: New file.
2329 2001-03-19 Paul Eggert <eggert@twinsun.com>
2331 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
2332 when given the empty string in nontrivial locales.
2334 2001-03-17 H.J. Lu <hjl@gnu.org>
2336 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
2337 cp to install `dir'.
2339 2001-03-19 Andreas Schwab <schwab@suse.de>
2341 * Makerules (build-shlib): Make sure exit codes get checked
2344 2001-03-18 Ulrich Drepper <drepper@redhat.com>
2346 * Makerules (build-shlib): Remove unnecessary slashes introduced in
2349 * configure.in: Test for -Bgroup option of linker.
2350 * config.make.in: Define have-Bgroup.
2352 * conform/data/unistd.h-data: Require gethostname.
2353 * posix/unistd.h: Make gethostname prototype available for
2356 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
2357 * debug/Makefile: Likewise.
2358 * dlfcn/Makefile: Likewise.
2359 * hesiod/Makefile: Likewise.
2360 * iconvdata/extra-module.mk: Likewise.
2361 * locale/Makefile: Likewise.
2362 * login/Makefile: Likewise.
2363 * math/Makefile: Likewise.
2364 * nis/Makefile: Likewise.
2365 * nss/Makefile: Likewise.
2366 * resolv/Makefile: Likewise.
2367 * rt/Makefile: Likewise.
2369 2001-03-17 Ulrich Drepper <drepper@redhat.com>
2371 * inet/Makefile (tests): Remove left-over comment.
2373 * posix/unistd.h (gethostname): Change type of second parameter
2374 back to size_t as per upcoming XPG6.
2375 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
2376 parameter back to size_t as per upcoming XPG6.
2377 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
2378 * sysdeps/unix/sysv/gethostname.c: Likewise.
2379 * sysdeps/mach/hurd/gethostname.c: Likewise.
2380 * sysdeps/generic/gethostname.c: Likewise.
2382 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2387 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
2390 2001-02-06 Jakub Jelinek <jakub@redhat.com>
2392 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
2393 looking for name matches.
2395 2001-02-26 Jakub Jelinek <jakub@redhat.com>
2397 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
2398 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
2399 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
2400 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2401 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
2402 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
2403 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
2404 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
2405 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
2406 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
2407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
2408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2410 2001-03-16 Ulrich Drepper <drepper@redhat.com>
2412 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
2413 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2415 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
2417 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2419 2001-03-16 David Mosberger <davidm@hpl.hp.com>
2421 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
2422 Drop hack that was needed for 2.1.1 kernel headers.
2424 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
2426 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
2427 overlay with kernel's "struct sigcontext".
2429 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
2430 sys/rse.h for "misc" subdir.
2431 (sysdep_routines): Add __start_context for "stdlib" subdir.
2433 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
2434 kernel file of the same name).
2436 * stdlib/Makefile (tests): Add tst-setcontext.
2437 * stdlib/tst-setcontext.c: New file (based on a sample program by
2440 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
2441 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
2442 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
2443 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
2444 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
2446 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
2447 instead of shift & and.
2449 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
2451 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
2452 * sysdeps/s390/bits/huge_val.h: ...here.
2453 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
2454 * sysdeps/s390/s390-64/ffs.c: Move to...
2455 * sysdeps/s390/ffs.c: ...here.
2456 * sysdeps/s390/s390-32/ffs.c: Remove.
2458 2001-03-16 Jakub Jelinek <jakub@redhat.com>
2460 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
2461 update osversion from more recent library.
2463 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2465 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
2466 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
2467 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
2468 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
2469 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
2470 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
2471 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2472 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2474 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2476 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2477 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2478 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2479 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2480 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2481 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2482 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2483 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2484 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2485 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2486 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2487 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2488 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2489 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2490 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2491 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2492 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2493 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2494 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2495 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2496 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2497 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2498 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2499 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2500 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2501 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2502 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2503 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2504 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2505 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2506 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2507 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2508 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2509 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2510 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2511 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2512 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2513 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2514 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2515 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2516 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2517 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2518 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2519 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2520 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2521 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2522 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2523 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2524 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2525 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2526 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2527 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2528 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2529 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2530 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2531 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2532 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2533 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2534 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2535 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2536 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2537 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2538 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2539 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2540 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2541 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2542 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2543 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2544 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2545 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2546 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2547 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2548 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2549 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2550 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2551 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2552 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2553 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2554 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2555 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2556 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2557 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2558 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2559 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2560 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2561 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2562 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2563 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2564 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2565 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2566 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2567 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2568 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2569 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2571 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2573 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2575 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2576 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2577 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2578 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2580 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2582 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2583 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2585 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2586 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2587 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2588 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2589 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2590 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2591 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2592 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2593 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2594 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2595 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2596 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2597 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2598 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2599 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2600 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2601 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2602 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2603 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2604 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2605 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2606 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2607 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2608 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2609 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2610 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2611 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2612 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2613 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2614 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2615 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2617 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2618 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2619 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2620 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2621 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2622 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2623 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2624 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2625 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2626 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2628 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2629 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2632 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2633 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2634 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2636 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2638 * sysdeps/s390/Dist: Move to...
2639 * sysdeps/s390/390-32/Dist: ...here.
2640 * sysdeps/s390/Implies: Move to...
2641 * sysdeps/s390/s390-32/Implies: ...here.
2642 * sysdeps/s390/Makefile: Move to...
2643 * sysdeps/s390/s390-32/Makefile: ...here.
2644 * sysdeps/s390/Versions: Move to...
2645 * sysdeps/s390-32/s390/Versions: ...here.
2646 * sysdeps/s390/add_n.S: Move to...
2647 * sysdeps/s390/s390-32/add_n.S: ...here.
2648 * sysdeps/s390/addmul_1.S: Move to...
2649 * sysdeps/s390/s390-32/addmul_1.S: ...here.
2650 * sysdeps/s390/atomicity.h: Move to...
2651 * sysdeps/s390/s390-32/atomicity.h: ...here.
2652 * sysdeps/s390/backtrace.c: Move to...
2653 * sysdeps/s390/s390-32/backtrace.c: ...here.
2654 * sysdeps/s390/bcopy.S: Move to...
2655 * sysdeps/s390/s390-32/bcopy.S: ...here.
2656 * sysdeps/s390/bits/byteswap.h: Move to...
2657 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2658 * sysdeps/s390/bits/huge_val.h: Move to...
2659 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2660 * sysdeps/s390/bsd-_setjmp.S: Move to...
2661 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2662 * sysdeps/s390/bsd-setjmp.S: Move to...
2663 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2664 * sysdeps/s390/bzero.S: Move to...
2665 * sysdeps/s390/s390-32/bzero.S: ...here.
2666 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2667 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2668 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2669 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2670 * sysdeps/s390/elf/start.S: Move to...
2671 * sysdeps/s390/s390-32/elf/start.S: ...here.
2672 * sysdeps/s390/ffs.c: Move to...
2673 * sysdeps/s390/s390-32/ffs.c: ...here.
2674 * sysdeps/s390/memchr.S: Move to...
2675 * sysdeps/s390/s390-32/memchr.S: ...here.
2676 * sysdeps/s390/memcpy.S: Move to...
2677 * sysdeps/s390/s390-32/memcpy.S: ...here.
2678 * sysdeps/s390/memset.S: Move to...
2679 * sysdeps/s390/s390-32/memset.S: ...here.
2680 * sysdeps/s390/mul_1.S: Move to...
2681 * sysdeps/s390/s390-32/mul_1.S: ...here.
2682 * sysdeps/s390/s390-mcount.S: Move to...
2683 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2684 * sysdeps/s390/strcpy.S: Move to...
2685 * sysdeps/s390/s390-32/strcpy.S: ...here.
2686 * sysdeps/s390/strncpy.S: Move to...
2687 * sysdeps/s390/s390-32/strncpy.S: ...here.
2688 * sysdeps/s390/sub_n.S: Move to...
2689 * sysdeps/s390/s390-32/sub_n.S: ...here.
2691 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2693 * sysdeps/s390/s390-64/Dist: New file.
2694 * sysdeps/s390/s390-64/Implies: New file.
2695 * sysdeps/s390/s390-64/Makefile: New file.
2696 * sysdeps/s390/s390-64/__longjmp.c: New file.
2697 * sysdeps/s390/s390-64/add_n.S: New file.
2698 * sysdeps/s390/s390-64/atomicity.h: New file.
2699 * sysdeps/s390/s390-64/backtrace.c: New file.
2700 * sysdeps/s390/s390-64/bcopy.S: New file.
2701 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2702 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2703 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2704 * sysdeps/s390/s390-64/bits/string.h: New file.
2705 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2706 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2707 * sysdeps/s390/s390-64/bzero.S: New file.
2708 * sysdeps/s390/s390-64/dl-machine.h: New file.
2709 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2710 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2711 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2712 * sysdeps/s390/s390-64/elf/start.S: New file.
2713 * sysdeps/s390/s390-64/ffs.c: New file.
2714 * sysdeps/s390/s390-64/initfini.c: New file.
2715 * sysdeps/s390/s390-64/memchr.S: New file.
2716 * sysdeps/s390/s390-64/memcpy.S: New file.
2717 * sysdeps/s390/s390-64/memset.S: New file.
2718 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2719 * sysdeps/s390/s390-64/setjmp.S: New file.
2720 * sysdeps/s390/s390-64/strcpy.S: New file.
2721 * sysdeps/s390/s390-64/strncpy.S: New file.
2722 * sysdeps/s390/s390-64/sub_n.S: New file.
2723 * sysdeps/s390/s390-64/sysdep.h: New file.
2725 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2727 * scripts/config.guess: Add support for Linux on 64 bit S/390.
2728 * scripts/config.sub: Likewise.
2730 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2732 * configure.in: Add support for 64 bit S/390.
2734 * elf/elf.h: Add new relocations for 64 bit S/390.
2736 * shlib-versions: Add rules for Linux on 64 bit S/390.
2738 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2740 * sysdeps/s390/__longjmp.c: Move to...
2741 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
2742 to load the floating point registers that should be saved
2743 according to the ABI.
2745 * sysdeps/s390/bits/setjmp.h: Move to...
2746 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
2747 the use of long long in the __jmp_buf type definition.
2749 * sysdeps/s390/bits/string.h: Move to...
2750 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
2751 #ifndef _FORCE_INLINES.
2753 * sysdeps/s390/dl-machine.h: Move to...
2754 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
2755 executables EI_CLASS in elf_machine_matches_host.
2757 * sysdeps/s390/elf/setjmp.S: Move to...
2758 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
2759 branches to globally defined symbol __sigsetjmp by branches to
2760 a local label (this avoids the generation of a R_390_PC16DBL
2761 relocation in -fpic code).
2763 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2764 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2766 * sysdeps/s390/initfini.c: Move to...
2767 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
2770 * sysdeps/s390/setjmp.S: Move to...
2771 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
2772 floating point registers that should be saved according to the ABI.
2774 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2776 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2778 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2780 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2782 * configure.in: Change machine=s390 to machine=s390/s390-32.
2784 * elf/elf.h: Correct comment for R_390_PLT16DBL.
2786 2001-03-12 Jakub Jelinek <jakub@redhat.com>
2788 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2789 version to be overriden from config.h.
2790 * csu/abi-note.S: Use OS and version separately, include config.h.
2791 * elf/dl-load.c (_dl_osversion): New.
2792 (_dl_map_object_from_fd): Kill some warnings.
2793 (open_verify): Check .note.ABI-tag of the library if present.
2794 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2795 * elf/cache.c (struct cache_entry): Add osversion.
2796 (print_entry): Print osversion.
2797 (print_cache): Pass osversion to it.
2798 (compare): Sort according to osversion.
2799 (save_cache): Set osversion.
2800 (add_to_cache): Add osversion argument.
2801 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2802 process_elf_file): Add osversion argument.
2803 * elf/readlib.c (process_file): Likewise.
2804 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2805 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2806 process_elf32_file, process_elf64_file): Likewise.
2807 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2808 process_elf32_file, process_elf64_file): Likewise.
2809 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2810 process_elf32_file, process_elf64_file): Likewise.
2811 * elf/ldconfig.c (manual_link): Pass it.
2812 (search_dir): Issue diagnostic if two libs with the same soname in
2813 the same directory have different .note.ABI-tag. Record osversion in
2814 dlib_entry and use it from there.
2815 (struct lib_entry): Remove.
2816 (struct dlib_entry): Add osversion.
2817 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2819 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2820 field with osversion.
2821 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2822 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2823 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2824 version in _dl_osversion.
2825 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2826 * Makerules (build-shlib-helper, build-module-helper): New.
2827 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2829 * config.h.in (__ABI_TAG_VERSION): Add.
2830 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2831 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2832 Handle LD_ASSUME_KERNEL.
2833 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2835 2001-03-15 Ulrich Drepper <drepper@redhat.com>
2837 * timezone/antarctica: Update from tzdata2001a.
2838 * timezone/asia: Likewise.
2839 * timezone/australasia: Likewise.
2840 * timezone/backward: Likewise.
2841 * timezone/etcetera: Likewise.
2842 * timezone/europe: Likewise.
2843 * timezone/leapseconds: Likewise.
2844 * timezone/northamerica: Likewise.
2845 * timezone/southamerica: Likewise.
2846 * timezone/systemv: Likewise.
2847 * timezone/yearistype: Likewise.
2848 * timezone/zone.tab: Likewise.
2849 * timezone/tzdump.c: Update from tzcode2001a.
2851 2001-03-15 H.J. Lu <hjl@gnu.org>
2853 * intl/Makefile: Fix a typo.
2855 2001-03-14 David Mosberger <davidm@hpl.hp.com>
2857 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2858 writing arc structures.
2860 2001-03-15 H.J. Lu <hjl@gnu.org>
2862 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2865 2001-03-13 Andreas Schwab <schwab@suse.de>
2867 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2869 2001-03-15 Ulrich Drepper <drepper@redhat.com>
2871 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2872 for control message fitting into message data.
2873 Patch by James Antill <james@and.org>.
2875 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2878 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2879 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2881 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2882 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2883 avoid running binaries with libc versions without FNM_EXTMATCH support.
2885 * include/wchar.h: Add prototype for __wcscat.
2886 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2888 * posix/fnmatch.h (FNM_EXTMATCH): Define.
2889 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2890 (posixly_correct): Move global variable here.
2891 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2892 (fnmatch): Pretty printing.
2893 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2894 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2895 * posix/tst-fnmatch.input: Add tests for extended matching.
2897 * posix/testfnm.c: Add test for patterns with multiple ** before /.
2898 * posix/fnmatch_loop.c: Fix problem with the test above.
2900 2001-03-14 Ulrich Drepper <drepper@redhat.com>
2902 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2905 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2907 2001-03-12 Andreas Jaeger <aj@suse.de>
2909 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2910 Use EM_X86_64 instead of EM_X8664.
2912 2001-03-12 Ulrich Drepper <drepper@redhat.com>
2914 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2916 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2919 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2926 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2928 (__ieee754_acos): Likewise.
2930 2001-03-12 Andreas Jaeger <aj@suse.de>
2932 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2933 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2935 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2938 2001-03-11 Roland McGrath <roland@frob.com>
2940 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2942 2001-03-11 Ulrich Drepper <drepper@redhat.com>
2944 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2947 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2950 Last-bit accurate math library implementation by IBM Haifa.
2951 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2952 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2953 Anna Reitman <reitman@il.ibm.com>.
2954 * math/Makefile (dbl-only-routines): New variable.
2955 (libm-routines): Add $(dbl-only-routines).
2956 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2957 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2959 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2961 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2963 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2965 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2967 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2968 remainder implementation.
2969 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2971 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2973 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2974 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2975 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2977 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2978 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2980 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2982 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2984 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2985 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2986 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2987 * sysdeps/ieee754/dbl-64/atnat.h: New file.
2988 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2989 * sysdeps/ieee754/dbl-64/branred.c: New file.
2990 * sysdeps/ieee754/dbl-64/branred.h: New file.
2991 * sysdeps/ieee754/dbl-64/dla.h: New file.
2992 * sysdeps/ieee754/dbl-64/doasin.c: New file.
2993 * sysdeps/ieee754/dbl-64/doasin.h: New file.
2994 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2995 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2996 * sysdeps/ieee754/dbl-64/endian.h: New file.
2997 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2998 * sysdeps/ieee754/dbl-64/mpa.c: New file.
2999 * sysdeps/ieee754/dbl-64/mpa.h: New file.
3000 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
3001 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
3002 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
3003 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
3004 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
3005 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
3006 * sysdeps/ieee754/dbl-64/mplog.c: New file.
3007 * sysdeps/ieee754/dbl-64/mplog.h: New file.
3008 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
3009 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
3010 * sysdeps/ieee754/dbl-64/mptan.c: New file.
3011 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
3012 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
3013 * sysdeps/ieee754/dbl-64/root.tbl: New file.
3014 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
3015 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
3016 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
3017 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
3018 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
3019 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
3020 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
3021 * sysdeps/ieee754/dbl-64/uexp.h: New file.
3022 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
3023 * sysdeps/ieee754/dbl-64/ulog.h: New file.
3024 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
3025 * sysdeps/ieee754/dbl-64/upow.h: New file.
3026 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
3027 * sysdeps/ieee754/dbl-64/urem.h: New file.
3028 * sysdeps/ieee754/dbl-64/uroot.h: New file.
3029 * sysdeps/ieee754/dbl-64/usncs.h: New file.
3030 * sysdeps/ieee754/dbl-64/utan.h: New file.
3031 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
3032 * sysdeps/i386/fpu/branred.c: New file.
3033 * sysdeps/i386/fpu/doasin.c: New file.
3034 * sysdeps/i386/fpu/dosincos.c: New file.
3035 * sysdeps/i386/fpu/halfulp.c: New file.
3036 * sysdeps/i386/fpu/mpa.c: New file.
3037 * sysdeps/i386/fpu/mpatan.c: New file.
3038 * sysdeps/i386/fpu/mpatan2.c: New file.
3039 * sysdeps/i386/fpu/mpexp.c: New file.
3040 * sysdeps/i386/fpu/mplog.c: New file.
3041 * sysdeps/i386/fpu/mpsqrt.c: New file.
3042 * sysdeps/i386/fpu/mptan.c: New file.
3043 * sysdeps/i386/fpu/sincos32.c: New file.
3044 * sysdeps/i386/fpu/slowexp.c: New file.
3045 * sysdeps/i386/fpu/slowpow.c: New file.
3046 * sysdeps/ia64/fpu/branred.c: New file.
3047 * sysdeps/ia64/fpu/doasin.c: New file.
3048 * sysdeps/ia64/fpu/dosincos.c: New file.
3049 * sysdeps/ia64/fpu/halfulp.c: New file.
3050 * sysdeps/ia64/fpu/mpa.c: New file.
3051 * sysdeps/ia64/fpu/mpatan.c: New file.
3052 * sysdeps/ia64/fpu/mpatan2.c: New file.
3053 * sysdeps/ia64/fpu/mpexp.c: New file.
3054 * sysdeps/ia64/fpu/mplog.c: New file.
3055 * sysdeps/ia64/fpu/mpsqrt.c: New file.
3056 * sysdeps/ia64/fpu/mptan.c: New file.
3057 * sysdeps/ia64/fpu/sincos32.c: New file.
3058 * sysdeps/ia64/fpu/slowexp.c: New file.
3059 * sysdeps/ia64/fpu/slowpow.c: New file.
3060 * sysdeps/m68k/fpu/branred.c: New file.
3061 * sysdeps/m68k/fpu/doasin.c: New file.
3062 * sysdeps/m68k/fpu/dosincos.c: New file.
3063 * sysdeps/m68k/fpu/halfulp.c: New file.
3064 * sysdeps/m68k/fpu/mpa.c: New file.
3065 * sysdeps/m68k/fpu/mpatan.c: New file.
3066 * sysdeps/m68k/fpu/mpatan2.c: New file.
3067 * sysdeps/m68k/fpu/mpexp.c: New file.
3068 * sysdeps/m68k/fpu/mplog.c: New file.
3069 * sysdeps/m68k/fpu/mpsqrt.c: New file.
3070 * sysdeps/m68k/fpu/mptan.c: New file.
3071 * sysdeps/m68k/fpu/sincos32.c: New file.
3072 * sysdeps/m68k/fpu/slowexp.c: New file.
3073 * sysdeps/m68k/fpu/slowpow.c: New file.
3075 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
3078 2001-03-11 Andreas Jaeger <aj@suse.de>
3080 * elf/elf.h (EM_*): Synch with official list.
3082 2001-03-07 David Mosberger <davidm@hpl.hp.com>
3084 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
3086 2001-03-07 Jes Sorensen <jes@linuxcare.com>
3088 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
3089 variables addr & len.
3091 2001-02-22 Jes Sorensen <jes@linuxcare.com>
3093 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
3094 punctuation in asm constraint.
3096 2001-03-07 Mark Kettenis <kettenis@gnu.org>
3098 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
3099 <time.h> to get definition of `struct timespec'.
3101 2001-03-08 Jakub Jelinek <jakub@redhat.com>
3103 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
3104 LD_WARN=1, not if LD_WARN is unset.
3106 2001-03-07 Andreas Schwab <schwab@suse.de>
3108 * elf/ldconfig.h: Moved to ...
3109 * sysdeps/generic/ldconfig.h: ... here.
3110 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
3111 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
3112 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
3113 * elf/readlib.c (interpreters, known_libs): Use
3114 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
3115 instead of hard coding old names.
3117 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3119 * catgets/Makefile (generated): Add test-gencat.h.
3120 (sample.SJIS.cat): Also generate header.
3121 * catgets/sample.SJIS: Add new set and message, both with symbolic
3123 * catgets/test-gencat.sh: Also compare generated header with what
3126 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3128 * catgets/gencat.c (read_input_file): Preserve properly symbolic
3131 2001-03-06 Andreas Jaeger <aj@suse.de>
3133 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
3135 (elf_machine_pltrel_p): Likewise.
3136 * sysdeps/powerpc/dl-machine.h: Likewise.
3137 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
3139 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3141 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
3144 2001-03-05 Philip Blundell <philb@gnu.org>
3146 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
3147 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
3148 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
3149 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
3152 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3154 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
3156 * dlfcn/tstcxaatexit.c (main): Likewise.
3158 2001-03-10 Andreas Jaeger <aj@suse.de>
3160 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
3162 2001-03-09 Andreas Jaeger <aj@suse.de>
3164 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
3165 both new and old EM_S390 values.
3166 (EM_S390_OLD): New constant.
3168 * elf/elf.h (EM_S390): Use official value.
3170 2001-03-09 Ulrich Drepper <drepper@redhat.com>
3172 * conform/data/sys/socket.h-data: Allow SO* symbols.
3174 2001-03-07 Andreas Schwab <schwab@suse.de>
3176 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
3177 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
3179 2001-03-07 Andreas Jaeger <aj@suse.de>
3181 * resolv/Makefile (routines): Only build gai_sigqueue when threads
3184 2001-03-07 Jakub Jelinek <jakub@redhat.com>
3186 * elf/ldconfig.c (_dl_sysdep_message): Remove.
3187 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
3189 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
3192 _dl_error_printf instead of _dl_sysdep_error.
3193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
3195 Use _dl_printf instead of _dl_sysdep_message.
3196 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
3199 2001-03-06 Ben Collins <bcollins@debian.org>
3201 * manual/arith.texi (Integers): Fix documentation of fast and
3202 least integer typedefs.
3204 2001-03-06 Jakub Jelinek <jakub@redhat.com>
3206 * resolv/Depend: New file.
3207 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
3208 when libpthread is built.
3210 2001-03-06 Andreas Jaeger <aj@suse.de>
3212 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
3214 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
3215 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
3217 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3219 * stdlib/Versions: Remove __new_exitfn again. Not needed.
3221 2001-03-05 Andreas Jaeger <aj@suse.de>
3223 * stdlib/msort.c (qsort): Don't use alloca in a function call.
3225 2001-03-05 Ulrich Drepper <drepper@redhat.com>
3227 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
3228 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
3230 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3231 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3232 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3233 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
3234 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3235 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3236 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3238 2001-03-04 Andreas Jaeger <aj@suse.de>
3240 * stdlib/longlong.h: Don't use multi-line strings.
3241 * iconvdata/tst-loading.c: Likewise.
3243 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
3246 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3248 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
3250 * rt/lio_listio.c: Add a few asserts.
3252 * elf/global.c: New file.
3253 * elf/globalmod1.c: New file.
3254 * elf/Makefile: Add rules to build and run global.
3256 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
3257 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3258 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3260 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3262 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
3263 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3265 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
3267 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
3268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3270 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
3272 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
3274 2001-03-04 Andreas Jaeger <aj@suse.de>
3276 * resolv/tst-aton.c: Add testcase for IP with four periods.
3278 * resolv/inet_addr.c: Don't recognize an IP with four periods.
3279 Patch by Andre' Breiler <A.Breiler@gmx.net>.
3281 2001-02-27 Philip Blundell <pb@futuretv.com>
3283 * elf/elf.h: Add new ARM definitions from latest (B-01)
3284 specification. Correct naming of EF_ARM_ALIGN8 et al.
3286 2001-03-04 Ulrich Drepper <drepper@redhat.com>
3288 * stdio-common/tst-printf.sh: Remove bashisms.
3289 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
3291 2001-03-03 Ulrich Drepper <drepper@redhat.com>
3293 * Versions.def: Add libanl definition.
3294 * shlib-versions: Add entry for libanl.
3295 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
3296 (routines): Add gai_sigqueue.
3297 (extra-libs): Add libanl.
3298 (libanl-routines): New variable.
3299 Add rules to build libanl and ga_test.
3300 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
3301 [libanl]: New library.
3302 * resolv/netdb.h: Add definitions for libanl.
3303 * resolv/getaddrinfo_a.c: New file.
3304 * resolv/gai_cancel.c: New file.
3305 * resolv/gai_error.c: New file.
3306 * resolv/gai_misc.c: New file.
3307 * resolv/gai_misc.h: New file.
3308 * resolv/gai_notify.c: New file.
3309 * resolv/gai_suspend.c: New file.
3310 * resolv/ga_test.c: New file.
3311 * sysdeps/generic/gai_sigqueue.c: New file.
3312 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
3313 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
3314 and provide only that definition.
3315 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
3316 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
3317 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3318 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
3319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
3322 * rt/aio_misc.c: Fix typos in comments.
3323 * rt/lio_listio.c: Pretty printing. Little optimization in request
3326 * elf/rtld.c: Remove commented out code.
3328 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
3329 Update for real 2.4 kernels.
3331 2001-03-01 Ulrich Drepper <drepper@redhat.com>
3333 * elf/dl-load.c: Pretty printing.
3335 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
3338 2001-02-28 Ulrich Drepper <drepper@redhat.com>
3340 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
3341 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
3343 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3345 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
3348 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
3350 2001-02-27 Ulrich Drepper <drepper@redhat.com>
3352 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
3355 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
3357 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
3358 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
3359 _dl_debug_printf_c, and _dl_printf.
3360 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
3361 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
3362 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
3363 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
3364 * elf/dl-close.c: Replace use of old output functions with the new
3366 * elf/dl-deps.c: Likewise.
3367 * elf/dl-error.c: Likewise.
3368 * elf/dl-fini.c: Likewise.
3369 * elf/dl-init.c: Likewise.
3370 * elf/dl-load.c: Likewise.
3371 * elf/dl-lookup.c: Likewise.
3372 * elf/dl-minimal.c: Likewise.
3373 * elf/dl-open.c: Likewise.
3374 * elf/dl-profile.c: Likewise.
3375 * elf/dl-reloc.c: Likewise.
3376 * elf/dl-version.c: Likewise.
3377 * elf/do-lookup.h: Likewise.
3378 * elf/rtld.c: Likewise.
3379 * sysdeps/generic/dl-cache.c: Likewise.
3380 * sysdeps/generic/dl-sysdep.c: Likewise.
3381 * sysdeps/generic/libc-start.c: Likewise.
3382 * sysdeps/i386/dl-machine.h: Likewise.
3383 * sysdeps/arm/dl-machine.h: Likewise.
3384 * sysdeps/hppa/dl-machine.h: Likewise.
3385 * sysdeps/m68k/dl-machine.h: Likewise.
3386 * sysdeps/powerpc/dl-machine.h: Likewise.
3387 * sysdeps/s390/dl-machine.h: Likewise.
3388 * sysdeps/sh/dl-machine.h: Likewise.
3389 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3390 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3391 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3393 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
3395 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
3396 supported by assembler.
3398 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
3401 * elf/rtld.c: Little optimizations in handling _dl_lazy.
3403 * elf/cache.c (save_cache): Portability changes.
3404 * elf/dl-profile.c (_dl_start_profile): Likewise.
3406 * elf/sln.c: Cleanups. Remove arbitrary limits.
3408 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
3409 * elf/dl-deps.c: Likewise.
3410 * elf/dl-fini.c: Likewise.
3411 * elf/dl-init.c: Likewise.
3412 * elf/dl-load.c: Likewise.
3413 * elf/dl-lookup.c: Likewise.
3414 * elf/dl-open.c: Likewise.
3415 * elf/dl-reloc.c: Likewise.
3416 * elf/dl-support.c: Likewise.
3417 * elf/dl-version.c: Likewise.
3418 * elf/do-lookup.h: Likewise.
3419 * elf/rtld.c: Likewise.
3420 * sysdeps/generic/dl-cache.c: Likewise.
3421 * sysdeps/generic/ldsodefs.h: Likewise.
3422 * sysdeps/generic/libc-start.c: Likewise.
3423 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
3424 Export _dl_debug_mask.
3425 * Versions.def: Define GLIBC_2.2.3 for ld.
3427 2001-02-26 Greg McGary <greg@mcgary.org>
3429 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
3431 2001-02-26 Paul Eggert <eggert@twinsun.com>
3433 Modify mkstemp.c and tempname.c so that they can be used by
3434 GNU applications on non-glibc platforms.
3436 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
3438 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
3439 Include <stddef.h>, <stdint.h>, <string.h> only if
3440 STDC_HEADERS || _LIBC.
3441 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
3442 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
3443 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
3444 (__set_errno): Define this macro if <errno.h> doesn't.
3445 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
3446 Define these macros if <stdio.h> doesn't.
3447 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
3448 Define these macros if <sys/stat.h> doesn't.
3449 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
3450 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
3451 lxstat64, __xstat64): Define if not _LIBC.
3452 (struct_stat64): New macro.
3453 (direxists, __gen_tempname): Use it, to avoid a
3454 portability problem with Solaris 8.
3455 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
3456 (__gen_tempname): Invoke gettimeofday only if
3457 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
3458 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
3459 octal values like 0600.
3461 2001-02-26 Ulrich Drepper <drepper@redhat.com>
3463 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
3464 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
3467 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3469 * posix/wordexp-test.c (testit): Remove warnings.
3471 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3472 (tests): Add tstatexit and tstcxaatexit.
3473 (module-names): Add modatexit and modcxaatexit.
3474 Add rules to build and run tstatexit and tstcxaatexit.
3475 * dlfcn/modatexit.c: New file.
3476 * dlfcn/modcxaatexit.c: New file.
3477 * dlfcn/tstatexit.c: New file.
3478 * dlfcn/tstcxaatexit.c: New file.
3480 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3481 .hidden is available.
3482 * io/stat.c: If .hidden is available use it to avoid exporting
3484 * io/fstat.c: Likewise.
3485 * io/lstat.c: Likewise.
3486 * io/stat64.c: Likewise.
3487 * io/fstat64.c: Likewise.
3488 * io/lstat64.c: Likewise.
3489 * sysdeps/generic/mknod.c: Likewise.
3491 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3492 * sysdeps/generic/bb_init_func.c: Likewise.
3493 * sysdeps/generic/libc-start.c: Likewise.
3495 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3496 (atexit): Implement using __cxa_atexit.
3497 Use .hidden if availble to avoid exporting atexit.
3498 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3499 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3500 * stdlib/Makefile (routines): Add old_atexit.
3501 (static-only-routines): Add atexit.
3502 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3503 * stdlib/old_atexit.c: New file.
3505 * intl/Makefile: Remove bogus endif.
3507 2001-02-26 Andreas Jaeger <aj@suse.de>
3509 * iconvdata/Makefile (tests): Fix typo in last patch.
3511 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3513 Reported by Achim Gottinger <achim@gentoo.org>.
3515 2001-02-25 Andreas Jaeger <aj@suse.de>
3517 * intl/Makefile (plural.c): Reorder rules so that they work if
3518 BISON doesn't exist.
3520 2001-02-25 Ulrich Drepper <drepper@redhat.com>
3522 * intl/locale.alias: Don't use nb_NO but define aliases for it.
3524 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3526 * sysdeps/i386/strtok.S: Continue to return NULL after the first
3529 2001-02-23 Andreas Jaeger <aj@suse.de>
3531 * string/tester.c (test_strtok_r): Add testcase.
3532 (test_strtok_r): Always initialize cp for proper checking.
3534 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3535 returning NULL correctly.
3536 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3537 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3539 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3541 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3542 including <stddef.h>.
3543 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3544 * include/libc-symbols.h (weak_alias): Don't use .weak if
3545 HAVE_ASM_GLOBAL_DOT_NAME is defined.
3546 Patches by Michael Keezer <mkeezer@redhat.com>.
3548 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3549 Patch by Michael Keezer <mkeezer@redhat.com>.
3551 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3552 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3553 (sysdep_routines): Remove restf.S and savef.S.
3554 * sysdeps/unix/sysv/aix/restf.S. Removed.
3555 * sysdeps/unix/sysv/aix/savef.S. Removed.
3556 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
3557 alternative names used on some platforms.
3558 * sysdeps/powerpc/fprsave.S: Likewise.
3559 * sysdeps/powerpc/gprrest0.S: Likewise.
3560 * sysdeps/powerpc/gprrest1.S: Likewise.
3561 * sysdeps/powerpc/gprsave0.S: Likewise.
3562 * sysdeps/powerpc/gprsave1.S: Likewise.
3563 Patch by Michael Keezer <mkeezer@redhat.com>.
3565 2001-02-22 Ulrich Drepper <drepper@redhat.com>
3567 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3569 2001-02-22 Andreas Jaeger <aj@suse.de>
3571 * string/tst-strtok.c (main): Fix error messages.
3573 2001-02-22 Andreas Jaeger <aj@suse.de>
3575 * math/Makefile: Remove omit-long-double-fcts.
3577 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3579 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3580 avoid problems on MIPS I.
3581 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3583 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3586 2001-02-21 Ulrich Drepper <drepper@redhat.com>
3588 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3590 * sysdeps/generic/ftime.c: Include <time.h>.
3592 * configure.in: Don't check for libgd if user passed --without-gd.
3593 Patch by Achim Gottinger <achim@gentoo.org>.
3595 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3596 first time this happened.
3597 * string/Makefile (tests): Add tst-strtok.
3599 2001-02-21 Andreas Jaeger <aj@suse.de>
3601 * string/tst-strtok.c: New testcase, reported by
3602 Andrew Church <achurch@achurch.org>.
3604 2001-02-20 Ulrich Drepper <drepper@redhat.com>
3606 * libio/iofwide.c: Remove fwide alias.
3608 2001-02-20 Andreas Jaeger <aj@suse.de>
3610 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3612 Reported by Achim Gottinger <achim@gentoo.org>.
3614 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3616 * iconv/tst-iconv1.c (main): Remove debugging code.
3618 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3621 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3623 * sysdeps/generic/e_scalbf.c: Likewise.
3624 * sysdeps/generic/e_scalbl.c: Likewise.
3626 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3627 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3629 (routines): Replace libm_error with libc_libm_error.
3630 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3631 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3633 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3635 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3636 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3638 2001-02-17 H.J. Lu <hjl@gnu.org>
3640 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3641 scratch registers across the system call.
3643 2001-02-19 Andreas Jaeger <aj@suse.de>
3645 * malloc/Makefile (tests): Run mtrace only when perl is available.
3646 Reported by Achim Gottinger <achim@gentoo.org>.
3648 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3650 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3651 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3653 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3654 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3655 * math/libm-test.inc (j1_test): Mark constants as long double.
3656 (jn_test): Likewise.
3657 (y1_test): Likewise.
3658 (yn_test): Likewise.
3660 * libio/iogetline.c: Move return until after last statement.
3662 * localedata/show-ucs-data.c: Don't show < > for better readability.
3664 * sysdeps/ia64/fpu/Dist: New file.
3665 * sysdeps/ia64/fpu/Makefile: New file.
3666 * sysdeps/ia64/fpu/Versions: New file.
3667 * sysdeps/ia64/fpu/e_acos.S: New file.
3668 * sysdeps/ia64/fpu/e_acosf.S: New file.
3669 * sysdeps/ia64/fpu/e_acosl.S: New file.
3670 * sysdeps/ia64/fpu/e_asin.S: New file.
3671 * sysdeps/ia64/fpu/e_asinf.S: New file.
3672 * sysdeps/ia64/fpu/e_asinl.S: New file.
3673 * sysdeps/ia64/fpu/e_atan2.S: New file.
3674 * sysdeps/ia64/fpu/e_atan2f.S: New file.
3675 * sysdeps/ia64/fpu/e_atan2l.c: New file.
3676 * sysdeps/ia64/fpu/e_cosh.S: New file.
3677 * sysdeps/ia64/fpu/e_coshf.S: New file.
3678 * sysdeps/ia64/fpu/e_coshl.S: New file.
3679 * sysdeps/ia64/fpu/e_exp.S: New file.
3680 * sysdeps/ia64/fpu/e_expf.S: New file.
3681 * sysdeps/ia64/fpu/e_expl.c: New file.
3682 * sysdeps/ia64/fpu/e_fmod.S: New file.
3683 * sysdeps/ia64/fpu/e_fmodf.S: New file.
3684 * sysdeps/ia64/fpu/e_fmodl.S: New file.
3685 * sysdeps/ia64/fpu/e_hypot.S: New file.
3686 * sysdeps/ia64/fpu/e_hypotf.S: New file.
3687 * sysdeps/ia64/fpu/e_hypotl.S: New file.
3688 * sysdeps/ia64/fpu/e_log.S: New file.
3689 * sysdeps/ia64/fpu/e_log10.c: New file.
3690 * sysdeps/ia64/fpu/e_log10f.c: New file.
3691 * sysdeps/ia64/fpu/e_log10l.c: New file.
3692 * sysdeps/ia64/fpu/e_logf.S: New file.
3693 * sysdeps/ia64/fpu/e_logl.c: New file.
3694 * sysdeps/ia64/fpu/e_pow.S: New file.
3695 * sysdeps/ia64/fpu/e_powf.S: New file.
3696 * sysdeps/ia64/fpu/e_powl.S: New file.
3697 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3698 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3699 * sysdeps/ia64/fpu/e_remainder.S: New file.
3700 * sysdeps/ia64/fpu/e_remainderf.S: New file.
3701 * sysdeps/ia64/fpu/e_remainderl.S: New file.
3702 * sysdeps/ia64/fpu/e_scalb.S: New file.
3703 * sysdeps/ia64/fpu/e_scalbf.S: New file.
3704 * sysdeps/ia64/fpu/e_scalbl.S: New file.
3705 * sysdeps/ia64/fpu/e_sinh.S: New file.
3706 * sysdeps/ia64/fpu/e_sinhf.S: New file.
3707 * sysdeps/ia64/fpu/e_sinhl.S: New file.
3708 * sysdeps/ia64/fpu/e_sqrt.S: New file.
3709 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3710 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3711 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3712 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3713 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3714 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3715 * sysdeps/ia64/fpu/libm_error.c: New file.
3716 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3717 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3718 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3719 * sysdeps/ia64/fpu/libm_reduce.S: New file.
3720 * sysdeps/ia64/fpu/libm_support.h: New file.
3721 * sysdeps/ia64/fpu/libm_tan.S: New file.
3722 * sysdeps/ia64/fpu/s_atan.S: New file.
3723 * sysdeps/ia64/fpu/s_atanf.S: New file.
3724 * sysdeps/ia64/fpu/s_atanl.S: New file.
3725 * sysdeps/ia64/fpu/s_cbrt.S: New file.
3726 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3727 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3728 * sysdeps/ia64/fpu/s_ceil.S: New file.
3729 * sysdeps/ia64/fpu/s_ceilf.S: New file.
3730 * sysdeps/ia64/fpu/s_ceill.S: New file.
3731 * sysdeps/ia64/fpu/s_cos.S: New file.
3732 * sysdeps/ia64/fpu/s_cosf.S: New file.
3733 * sysdeps/ia64/fpu/s_cosl.S: New file.
3734 * sysdeps/ia64/fpu/s_expm1.S: New file.
3735 * sysdeps/ia64/fpu/s_expm1f.S: New file.
3736 * sysdeps/ia64/fpu/s_expm1l.S: New file.
3737 * sysdeps/ia64/fpu/s_floor.S: New file.
3738 * sysdeps/ia64/fpu/s_floorf.S: New file.
3739 * sysdeps/ia64/fpu/s_floorl.S: New file.
3740 * sysdeps/ia64/fpu/s_frexp.c: New file.
3741 * sysdeps/ia64/fpu/s_frexpf.c: New file.
3742 * sysdeps/ia64/fpu/s_frexpl.c: New file.
3743 * sysdeps/ia64/fpu/s_ilogb.S: New file.
3744 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3745 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3746 * sysdeps/ia64/fpu/s_ldexp.S: New file.
3747 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3748 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3749 * sysdeps/ia64/fpu/s_log1p.S: New file.
3750 * sysdeps/ia64/fpu/s_log1pf.S: New file.
3751 * sysdeps/ia64/fpu/s_log1pl.S: New file.
3752 * sysdeps/ia64/fpu/s_logb.S: New file.
3753 * sysdeps/ia64/fpu/s_logbf.S: New file.
3754 * sysdeps/ia64/fpu/s_logbl.S: New file.
3755 * sysdeps/ia64/fpu/s_matherrf.c: New file.
3756 * sysdeps/ia64/fpu/s_matherrl.c: New file.
3757 * sysdeps/ia64/fpu/s_modf.S: New file.
3758 * sysdeps/ia64/fpu/s_modff.S: New file.
3759 * sysdeps/ia64/fpu/s_modfl.S: New file.
3760 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3761 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3762 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3763 * sysdeps/ia64/fpu/s_rint.S: New file.
3764 * sysdeps/ia64/fpu/s_rintf.S: New file.
3765 * sysdeps/ia64/fpu/s_rintl.S: New file.
3766 * sysdeps/ia64/fpu/s_round.S: New file.
3767 * sysdeps/ia64/fpu/s_roundf.S: New file.
3768 * sysdeps/ia64/fpu/s_roundl.S: New file.
3769 * sysdeps/ia64/fpu/s_scalbn.S: New file.
3770 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3771 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3772 * sysdeps/ia64/fpu/s_significand.S: New file.
3773 * sysdeps/ia64/fpu/s_significandf.S: New file.
3774 * sysdeps/ia64/fpu/s_significandl.S: New file.
3775 * sysdeps/ia64/fpu/s_sin.c: New file.
3776 * sysdeps/ia64/fpu/s_sincos.c: New file.
3777 * sysdeps/ia64/fpu/s_sincosf.c: New file.
3778 * sysdeps/ia64/fpu/s_sincosl.c: New file.
3779 * sysdeps/ia64/fpu/s_sinf.c: New file.
3780 * sysdeps/ia64/fpu/s_sinl.c: New file.
3781 * sysdeps/ia64/fpu/s_tan.S: New file.
3782 * sysdeps/ia64/fpu/s_tanf.S: New file.
3783 * sysdeps/ia64/fpu/s_tanl.S: New file.
3784 * sysdeps/ia64/fpu/s_trunc.S: New file.
3785 * sysdeps/ia64/fpu/s_truncf.S: New file.
3786 * sysdeps/ia64/fpu/s_truncl.S: New file.
3787 * sysdeps/ia64/fpu/w_acos.c: New file.
3788 * sysdeps/ia64/fpu/w_acosf.c: New file.
3789 * sysdeps/ia64/fpu/w_acosl.c: New file.
3790 * sysdeps/ia64/fpu/w_asin.c: New file.
3791 * sysdeps/ia64/fpu/w_asinf.c: New file.
3792 * sysdeps/ia64/fpu/w_asinl.c: New file.
3793 * sysdeps/ia64/fpu/w_atan2.c: New file.
3794 * sysdeps/ia64/fpu/w_atan2f.c: New file.
3795 * sysdeps/ia64/fpu/w_atan2l.c: New file.
3796 * sysdeps/ia64/fpu/w_cosh.c: New file.
3797 * sysdeps/ia64/fpu/w_coshf.c: New file.
3798 * sysdeps/ia64/fpu/w_coshl.c: New file.
3799 * sysdeps/ia64/fpu/w_exp.c: New file.
3800 * sysdeps/ia64/fpu/w_expf.c: New file.
3801 * sysdeps/ia64/fpu/w_fmod.c: New file.
3802 * sysdeps/ia64/fpu/w_fmodf.c: New file.
3803 * sysdeps/ia64/fpu/w_fmodl.c: New file.
3804 * sysdeps/ia64/fpu/w_hypot.c: New file.
3805 * sysdeps/ia64/fpu/w_hypotf.c: New file.
3806 * sysdeps/ia64/fpu/w_hypotl.c: New file.
3807 * sysdeps/ia64/fpu/w_log.c: New file.
3808 * sysdeps/ia64/fpu/w_log10.c: New file.
3809 * sysdeps/ia64/fpu/w_log10f.c: New file.
3810 * sysdeps/ia64/fpu/w_log10l.c: New file.
3811 * sysdeps/ia64/fpu/w_logf.c: New file.
3812 * sysdeps/ia64/fpu/w_logl.c: New file.
3813 * sysdeps/ia64/fpu/w_pow.c: New file.
3814 * sysdeps/ia64/fpu/w_powf.c: New file.
3815 * sysdeps/ia64/fpu/w_powl.c: New file.
3816 * sysdeps/ia64/fpu/w_remainder.c: New file.
3817 * sysdeps/ia64/fpu/w_remainderf.c: New file.
3818 * sysdeps/ia64/fpu/w_remainderl.c: New file.
3819 * sysdeps/ia64/fpu/w_scalb.c: New file.
3820 * sysdeps/ia64/fpu/w_scalbf.c: New file.
3821 * sysdeps/ia64/fpu/w_scalbl.c: New file.
3822 * sysdeps/ia64/fpu/w_sqrt.c: New file.
3823 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3824 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3825 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3827 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3828 Change FP_ILOGBNAN for new implementation.
3829 * Verions.def: Add 2.2.3 versions.
3831 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3833 * math/libm-test.inc (scalb_test): Require invalid exception being
3834 raised for invalid parameters.
3835 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3837 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3839 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3841 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3843 (__get_avphys_pages): Likewise.
3845 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3847 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3848 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3849 * sysdeps/i386/fpu/e_powf.S: Likewise.
3850 * sysdeps/i386/fpu/e_powl.S: Likewise.
3852 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3854 2001-02-17 Ulrich Drepper <drepper@redhat.com>
3856 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3858 * sysdeps/generic/s_exp2l.c: Renamed to...
3859 * sysdeps/generic/e_exp2l.c: ...this. New file.
3860 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3861 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
3862 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3863 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
3864 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3865 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
3866 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3867 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
3868 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3869 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
3870 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3871 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
3872 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3873 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
3874 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3875 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
3877 2001-02-17 Andreas Jaeger <aj@suse.de>
3879 * configure.in: Allow gcc 3.
3881 2001-02-16 Ulrich Drepper <drepper@redhat.com>
3883 * math/w_acos.c: Move to ...
3884 * sysdeps/generic/w_acos.c: ...here. New file.
3885 * math/w_acosf.c: Move to ...
3886 * sysdeps/generic/w_acosf.c: ...here. New file.
3887 * math/w_acosh.c: Move to ...
3888 * sysdeps/generic/w_acosh.c: ...here. New file.
3889 * math/w_acoshf.c: Move to ...
3890 * sysdeps/generic/w_acoshf.c: ...here. New file.
3891 * math/w_acoshl.c: Move to ...
3892 * sysdeps/generic/w_acoshl.c: ...here. New file.
3893 * math/w_acosl.c: Move to ...
3894 * sysdeps/generic/w_acosl.c: ...here. New file.
3895 * math/w_asin.c: Move to ...
3896 * sysdeps/generic/w_asin.c: ...here. New file.
3897 * math/w_asinf.c: Move to ...
3898 * sysdeps/generic/w_asinf.c: ...here. New file.
3899 * math/w_asinl.c: Move to ...
3900 * sysdeps/generic/w_asinl.c: ...here. New file.
3901 * math/w_atan2.c: Move to ...
3902 * sysdeps/generic/w_atan2.c: ...here. New file.
3903 * math/w_atan2f.c: Move to ...
3904 * sysdeps/generic/w_atan2f.c: ...here. New file.
3905 * math/w_atan2l.c: Move to ...
3906 * sysdeps/generic/w_atan2l.c: ...here. New file.
3907 * math/w_atanh.c: Move to ...
3908 * sysdeps/generic/w_atanh.c: ...here. New file.
3909 * math/w_atanhf.c: Move to ...
3910 * sysdeps/generic/w_atanhf.c: ...here. New file.
3911 * math/w_atanhl.c: Move to ...
3912 * sysdeps/generic/w_atanhl.c: ...here. New file.
3913 * math/w_cosh.c: Move to ...
3914 * sysdeps/generic/w_cosh.c: ...here. New file.
3915 * math/w_coshf.c: Move to ...
3916 * sysdeps/generic/w_coshf.c: ...here. New file.
3917 * math/w_coshl.c: Move to ...
3918 * sysdeps/generic/w_coshl.c: ...here. New file.
3919 * math/w_drem.c: Move to ...
3920 * sysdeps/generic/w_drem.c: ...here. New file.
3921 * math/w_dremf.c: Move to ...
3922 * sysdeps/generic/w_dremf.c: ...here. New file.
3923 * math/w_dreml.c: Move to ...
3924 * sysdeps/generic/w_dreml.c: ...here. New file.
3925 * math/w_exp10.c: Move to ...
3926 * sysdeps/generic/w_exp10.c: ...here. New file.
3927 * math/w_exp10f.c: Move to ...
3928 * sysdeps/generic/w_exp10f.c: ...here. New file.
3929 * math/w_exp10l.c: Move to ...
3930 * sysdeps/generic/w_exp10l.c: ...here. New file.
3931 * math/w_exp2.c: Move to ...
3932 * sysdeps/generic/w_exp2.c: ...here. New file.
3933 * math/w_exp2f.c: Move to ...
3934 * sysdeps/generic/w_exp2f.c: ...here. New file.
3935 * math/w_exp2l.c: Move to ...
3936 * sysdeps/generic/w_exp2l.c: ...here. New file.
3937 * math/w_fmod.c: Move to ...
3938 * sysdeps/generic/w_fmod.c: ...here. New file.
3939 * math/w_fmodf.c: Move to ...
3940 * sysdeps/generic/w_fmodf.c: ...here. New file.
3941 * math/w_fmodl.c: Move to ...
3942 * sysdeps/generic/w_fmodl.c: ...here. New file.
3943 * math/w_hypot.c: Move to ...
3944 * sysdeps/generic/w_hypot.c: ...here. New file.
3945 * math/w_hypotf.c: Move to ...
3946 * sysdeps/generic/w_hypotf.c: ...here. New file.
3947 * math/w_hypotl.c: Move to ...
3948 * sysdeps/generic/w_hypotl.c: ...here. New file.
3949 * math/w_j0.c: Move to ...
3950 * sysdeps/generic/w_j0.c: ...here. New file.
3951 * math/w_j0f.c: Move to ...
3952 * sysdeps/generic/w_j0f.c: ...here. New file.
3953 * math/w_j0l.c: Move to ...
3954 * sysdeps/generic/w_j0l.c: ...here. New file.
3955 * math/w_j1.c: Move to ...
3956 * sysdeps/generic/w_j1.c: ...here. New file.
3957 * math/w_j1f.c: Move to ...
3958 * sysdeps/generic/w_j1f.c: ...here. New file.
3959 * math/w_j1l.c: Move to ...
3960 * sysdeps/generic/w_j1l.c: ...here. New file.
3961 * math/w_jn.c: Move to ...
3962 * sysdeps/generic/w_jn.c: ...here. New file.
3963 * math/w_jnf.c: Move to ...
3964 * sysdeps/generic/w_jnf.c: ...here. New file.
3965 * math/w_jnl.c: Move to ...
3966 * sysdeps/generic/w_jnl.c: ...here. New file.
3967 * math/w_lgamma.c: Move to ...
3968 * sysdeps/generic/w_lgamma.c: ...here. New file.
3969 * math/w_lgammaf.c: Move to ...
3970 * sysdeps/generic/w_lgammaf.c: ...here. New file.
3971 * math/w_lgammaf_r.c: Move to ...
3972 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
3973 * math/w_lgammal.c: Move to ...
3974 * sysdeps/generic/w_lgammal.c: ...here. New file.
3975 * math/w_lgammal_r.c: Move to ...
3976 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
3977 * math/w_lgamma_r.c: Move to ...
3978 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
3979 * math/w_log10.c: Move to ...
3980 * sysdeps/generic/w_log10.c: ...here. New file.
3981 * math/w_log10f.c: Move to ...
3982 * sysdeps/generic/w_log10f.c: ...here. New file.
3983 * math/w_log10l.c: Move to ...
3984 * sysdeps/generic/w_log10l.c: ...here. New file.
3985 * math/w_log.c: Move to ...
3986 * sysdeps/generic/w_log.c: ...here. New file.
3987 * math/w_logf.c: Move to ...
3988 * sysdeps/generic/w_logf.c: ...here. New file.
3989 * math/w_logl.c: Move to ...
3990 * sysdeps/generic/w_logl.c: ...here. New file.
3991 * math/w_pow.c: Move to ...
3992 * sysdeps/generic/w_pow.c: ...here. New file.
3993 * math/w_powf.c: Move to ...
3994 * sysdeps/generic/w_powf.c: ...here. New file.
3995 * math/w_powl.c: Move to ...
3996 * sysdeps/generic/w_powl.c: ...here. New file.
3997 * math/w_remainder.c: Move to ...
3998 * sysdeps/generic/w_remainder.c: ...here. New file.
3999 * math/w_remainderf.c: Move to ...
4000 * sysdeps/generic/w_remainderf.c: ...here. New file.
4001 * math/w_remainderl.c: Move to ...
4002 * sysdeps/generic/w_remainderl.c: ...here. New file.
4003 * math/w_scalb.c: Move to ...
4004 * sysdeps/generic/w_scalb.c: ...here. New file.
4005 * math/w_scalbf.c: Move to ...
4006 * sysdeps/generic/w_scalbf.c: ...here. New file.
4007 * math/w_scalbl.c: Move to ...
4008 * sysdeps/generic/w_scalbl.c: ...here. New file.
4009 * math/w_sinh.c: Move to ...
4010 * sysdeps/generic/w_sinh.c: ...here. New file.
4011 * math/w_sinhf.c: Move to ...
4012 * sysdeps/generic/w_sinhf.c: ...here. New file.
4013 * math/w_sinhl.c: Move to ...
4014 * sysdeps/generic/w_sinhl.c: ...here. New file.
4015 * math/w_sqrtl.c: Move to ...
4016 * sysdeps/generic/w_sqrtl.c: ...here. New file.
4017 * math/w_tgamma.c: Move to ...
4018 * sysdeps/generic/w_tgamma.c: ...here. New file.
4019 * math/w_tgammaf.c: Move to ...
4020 * sysdeps/generic/w_tgammaf.c: ...here. New file.
4021 * math/w_tgammal.c: Move to ...
4022 * sysdeps/generic/w_tgammal.c: ...here. New file.
4024 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
4025 formats for postal_fmt.
4027 2001-02-16 Jakub Jelinek <jakub@redhat.com>
4029 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
4030 __ftruncate64 alias.
4031 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
4034 2001-02-15 David Mosberger <davidm@hpl.hp.com>
4036 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
4037 do "loadrs". Writing to bspstore already takes care of
4038 invalidating the "clean" partition.
4040 2001-02-16 Andreas Schwab <schwab@suse.de>
4042 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
4043 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
4045 2001-02-15 Jakub Jelinek <jakub@redhat.com>
4047 * posix/regex.c (init_syntax_once): Add prototype.
4048 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
4049 (re_search_2): Avoid warning.
4050 (count_mbs_length): Add prototype.
4051 * posix/tst-regex3.c: New file.
4052 * posix/Makefile (tests): Add bug-regex3.
4054 2001-02-15 Ulrich Drepper <drepper@redhat.com>
4056 * stdio-common/Makefile (tests): Add tst-gets.
4057 * stdio-common/tst-gets.c: New file.
4058 * stdio-common/tst-gets.input: New file.
4060 * elf/elf.h (DT_CHECKSUM): Define.
4062 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
4064 * sysdeps/generic/strtoull.c: Likewise.
4066 2001-02-14 Wolfram Gloger <wg@malloc.de>
4068 * malloc/malloc.c (new_heap): When allocating large chunk aligned
4069 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
4072 2001-02-14 Ulrich Drepper <drepper@redhat.com>
4074 * math/libm-test.inc (j0_test): Check whether sincos is available.
4075 (j1_test): Likewise.
4076 (jn_test): Likewise.
4077 (y0_test): Likewise.
4078 (y1_test): Likewise.
4079 (yn_test): Likewise.
4081 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
4082 fake filesystem routines to handle this.
4084 * time/sys/time.h: Make settimeofday and adjtime available if
4087 * time/sys/time.h: Make timer* macros available for BSD.
4089 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
4090 Patch by Yong Li <rigel863@yahoo.com>.
4092 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
4095 * posix/Makefile (tests): Add tst-gnuglob.
4096 * posix/tst-gnuglob.c: New file.
4098 2001-02-13 H.J. Lu <hjl@gnu.org>
4100 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
4102 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4104 * locale/programs/ld-paper.c (paper_output): Pretty printing.
4106 * iconvdata/Makefile (modules): Add GBBIG5.
4107 (distribute): Add gbbig5.c.
4108 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
4110 * iconvdata/gbbig5.c: New file.
4111 Contributed by Yong Li <rigel863@yahoo.com>.
4113 2001-02-13 Philip Blundell <pb@futuretv.com>
4115 * manual/crypt.texi: Remove outdated references to crypt add-on.
4117 * manual/creature.texi: Improve wording slightly.
4119 2001-02-13 Ulrich Drepper <drepper@redhat.com>
4121 * io/ftw.c: Always use readdir64.
4122 * io/ftw64.c: Likewise.
4123 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4124 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4125 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
4126 callback to dirent. Still allow compiling outside glibc.
4127 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
4128 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4130 * malloc/mtrace.c: Use fopen64.
4131 * posix/spawni.c: Use __open64.
4132 * sysdeps/unix/opendir.c: Likewise.
4133 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
4135 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
4137 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
4138 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4139 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4140 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
4142 * resolv/res_data.c: Add cast to avoid warning.
4144 * include/unistd.h: Declare __ftruncate64.
4146 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
4148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
4151 2001-02-13 Andreas Jaeger <aj@suse.de>
4153 * login/getutent_r.c: Include <stdlib.h> for NULL.
4154 * login/getutid_r.c: Likewise.
4156 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4158 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
4159 * sysdeps/dbl-64/e_j1.c: Likewise.
4160 * sysdeps/dbl-64/e_jn.c: Likewise.
4161 * sysdeps/flt-32/e_j0f.c: Likewise.
4162 * sysdeps/flt-32/e_j1f.c: Likewise.
4163 * sysdeps/ldbl-96/e_j0l.c: Likewise.
4165 2000-12-02 H.J. Lu <hjl@gnu.org>
4167 * resolv/res_libc.c (res_init): Don't make it default.
4169 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4171 * manual/debug.texi: Improved the wording.
4172 Patch by Philip Blundell <pb@futuretv.com>.
4174 2001-02-12 Andreas Jaeger <aj@suse.de>
4176 * posix/Makefile (tests): Don't run bug-regex2 when
4179 * libio/Makefile (tests): Don't run test-freopen when
4182 * manual/stdio.texi (Streams and I18N): Fix typos.
4184 2001-02-12 Ulrich Drepper <drepper@redhat.com>
4186 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
4188 * math/libm-test.inc (j0_test): Make expected results long double
4190 (y0_test): Likewise.
4192 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
4193 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4195 2001-02-11 Jakub Jelinek <jakub@redhat.com>
4197 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
4198 which was exported from libc.
4199 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
4201 2001-02-12 Andreas Jaeger <aj@suse.de>
4203 * manual/arith.texi (Parsing of Integers): Fix some wordings.
4205 2001-02-11 Ulrich Drepper <drepper@redhat.com>
4207 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
4208 and get_avphys_page to long int.
4209 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
4210 * include/sys/sysinfo.h: Likewise.
4211 * sysdeps/generic/sys/sysinfo.h: Likewise.
4212 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
4214 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
4215 cannot return as many values as the user asked for.
4217 2001-02-11 Andreas Jaeger <aj@suse.de>
4219 * manual/resource.texi (Memory Resources): Fix typo.
4221 * libio/Makefile ($(objpfx)test-freopen.out): Pass
4224 * libio/test-freopen.sh: Use run_program_prefix.
4226 2001-02-10 Andreas Jaeger <aj@suse.de>
4228 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
4230 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
4232 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
4235 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
4237 * posix/Makefile: Fix typo, it's build-static-nss.
4239 * iconv/Makefile (extra-objs): New.
4241 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4243 * sysdeps/unix/stime.c: Include <time.h>.
4245 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
4247 2001-02-10 Andreas Jaeger <aj@suse.de>
4249 * manual/string.texi (Search Functions): Fix typo.
4251 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4253 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
4254 (timeval_to_clock_t): Add clk_tck argument and use that instead of
4256 (__times): Use __getclktck to get the number of clock ticks per
4257 second and use its return value instead of CLK_TCK.
4259 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4261 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
4263 2001-02-10 Mark Kettenis <kettenis@gnu.org>
4265 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
4267 2001-02-10 Andreas Jaeger <aj@suse.de>
4269 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
4272 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4274 * posix/Makefile: Add rules to build and run bug-regex2.
4275 * posix/bug-regex2.c: New file.
4277 2001-02-10 Jakub Jelinek <jakub@redhat.com>
4279 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
4280 (regex_compile): Likewise.
4281 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
4282 (re_match_2_internal): Use just is_binary instead of two variables.
4283 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
4285 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4287 * version.h (VERSION): Bump to 2.2.2.
4289 * iconv/Makefile (distribute): Add iconv_charmap.c and
4291 * elf/Makefile (distribute): Add firstobj.c.
4292 * Makefile (distribute): Add include/pthread.h.
4294 * configure.in: Require makeinfo version 4.
4296 * libio/tst_wscanf.c (main): Add cast to avoid warning.
4297 * libio/tst_swscanf.c (main): Likewise..
4299 2001-02-09 Jakub Jelinek <jakub@redhat.com>
4301 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
4302 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
4304 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
4305 if not RTLD_BOOTSTRAP.
4306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4307 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4309 2001-02-09 Ulrich Drepper <drepper@redhat.com>
4311 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
4312 lr_ungetc to push back last read character.
4313 * locale/programs/linereader.h (lr_ungetc): Don't push back is
4315 (lr_ignore_rest): Don't warn about garbage if it is really the end
4318 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
4321 2001-02-08 Ulrich Drepper <drepper@redhat.com>
4323 * Makerules (build-shlib): Work around different order of
4324 processing of -B option in different gcc versions.
4326 * posix/regex.c: Fix alignment problem.
4327 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4329 * sysdeps/alpha/strrchr.S: Little optimization.
4330 Patch by Richard Henderson <rth@redhat.com>.
4332 * sysdeps/alpha/alphaev67/strrchr.S: New file.
4333 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
4335 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
4337 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
4338 in the assembler end directive.
4340 2001-02-08 Andreas Jaeger <aj@suse.de>
4342 * manual/stdio.texi (Closing Streams): Fix typos.
4344 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4346 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
4347 Patch by Richard Henderson <rth@redhat.com>.
4348 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
4350 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
4351 pointer in FILE structure before calling _IO_init.
4352 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
4353 strfmon_l if necessary.
4354 Reported by Jury Gerold <gjury@grips.com>.
4356 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
4357 Patch by Pekka.Pietikainen@cern.ch.
4359 * posix/regex.c: Correct several problems with 64-bit architectures
4360 introduced in the MBS changes.
4361 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4363 2001-02-07 Jakub Jelinek <jakub@redhat.com>
4365 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
4367 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
4369 2001-02-07 Andreas Jaeger <aj@suse.de>
4371 * manual/install.texi (Tools for Compilation): Fix typo.
4372 Reported by Pavel Machek <pavel@bug.ucw.cz>.
4374 2001-02-07 Ulrich Drepper <drepper@redhat.com>
4376 * stdlib/strtod.c: Never stop prematurely reading digits before the
4377 decimal point is found. Compute exponent limit for negative exponents
4378 correctly. For numbers ending in all zeros eat the zeros even before
4379 the decimal point if the exponent is negative [PR libc/2072].
4380 * stdlib/Makefile (tests): Add bug-strtod.
4381 * stdlib/bug-strtod.c: New file.
4383 2001-02-07 Andreas Jaeger <aj@suse.de>
4385 * posix/bug-regex1.c: Include <wchar.h> for fwide.
4387 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4389 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
4391 (compile_range): Handle index being passed, not pointer.
4392 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4394 * posix/regex.c: Fix a cast in the code for bracket handling which
4395 caused 8-bit uncleanliness.
4396 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
4398 * posix/Makefile (tests): Add bug-regex1.
4399 * posix/bug-regex1.c: New file.
4400 Contributed by Jim Meyering <jim@meyering.net>.
4402 * posix/regex.c: Many cleanups for incorrect format strings.
4404 2001-02-06 Andreas Jaeger <aj@suse.de>
4406 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
4408 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4410 * locale/programs/locale.c (write_locales): Use scandir to read
4411 directory so that the entries are sorted.
4413 2001-02-06 Andreas Jaeger <aj@suse.de>
4415 * include/pthread.h: New file.
4417 * wctype/wctype.h: Move internal interfaces from here to...
4418 * include/wctype.h: ...here.
4420 * wcsmbs/wchar.h: Move __wcslen from here to...
4421 * include/wchar.h: ...here.
4423 * posix/sys/wait.h: Move __wait from here to...
4424 * include/sys/wait.h: ...here.
4426 * string/string.h: Move __ffs and __strerror_r from here to...
4427 * include/string.h: ...here.
4429 * stdlib/stdlib.h: Move __on_exit from here to...
4430 * include/stdlib.h: ...here.
4432 * libio/stdio.h: Move __vsnprintf from here to...
4433 * include/stdio.h: ...here.
4435 2001-02-06 Andreas Schwab <schwab@suse.de>
4437 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
4440 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
4443 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4445 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
4447 2001-02-06 Andreas Jaeger <aj@suse.de>
4449 * elf/firstobj.c: Add prototype.
4451 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
4452 (truncate_wchar): Likewise.
4454 2001-02-06 Ulrich Drepper <drepper@redhat.com>
4456 * locale/programs/locale.c: Implement --verbose option for -a
4457 which prints detailed information about the locales.
4459 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4461 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
4462 variable to uint32_t.
4463 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
4465 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4467 * locale/C-translit.h.in: Add transliterations for CJK units of
4470 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4472 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4473 string. Include <inttypes.h> instead of <stdint.h>.
4475 * localedata/Makefile (tests): Add bug-iconv-trans.
4476 Define bug-iconv-trans-ENV.
4477 * localedata/bug-iconv-trans.c: New file.
4479 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4481 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4482 pointer, to avoid accumulating output from incomplete (unsuccessful)
4483 transliteration attempts.
4485 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4487 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4488 string. Include <inttypes.h> instead of <stdint.h>.
4490 * configure.in: Add check for bison.
4491 * config.make.in: Define BISON variable.
4492 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4493 Rename YFLAGS to BISONFLAGS.
4495 2001-02-05 Andreas Jaeger <aj@suse.de>
4497 * io/test-lfs.c (do_test): Test lseek64 return value, call
4499 (test_ftello): New function to test ftello64 and fseeko64.
4501 * signal/signal.h: Move __sigaction from here to...
4502 * include/signal.h: ...here.
4504 * io/fcntl.h: Move __fcntl and __open to...
4505 * include/fcntl.h: ...here.
4507 2001-02-04 Philip Blundell <philb@gnu.org>
4509 * configure.in: Distinguish ARM from Thumb.
4511 2001-02-04 Philip Blundell <philb@gnu.org>
4513 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4514 PC24 relocs with negative value.
4516 2001-02-04 Ulrich Drepper <drepper@redhat.com>
4518 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
4519 files in locale/programs. Add CFLAGS definition to allow compiling
4521 * iconv/dummy-repertoire.c: New file.
4522 * iconv/iconv_charmap.c: New file.
4523 * iconv/iconv_prog.h: New file.
4524 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4525 (main): If parameter for -f and -t contain slashes try first to resolve
4526 the strings as filenames of charmap files. Use them for conversion
4528 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4529 iconv getting charmap names as parameters.
4530 * locale/programs/linereader.c (lr_token): Take extra parameters
4531 verbose and pass it to get_string.
4532 (get_string): Take extra parameters verbose.
4533 * locale/programs/charmap.c (parse_charmap): Take extra parameters
4534 verbose and be_quiet. Change all callers of lr_token and
4536 * locale/programs/charmap.h: Likewise.
4537 * locale/programs/ld-address.c: Likewise.
4538 * locale/programs/ld-collate.c: Likewise.
4539 * locale/programs/ld-ctype.c: Likewise.
4540 * locale/programs/ld-identification.c: Likewise.
4541 * locale/programs/ld-measurement.c: Likewise.
4542 * locale/programs/ld-messages.c: Likewise.
4543 * locale/programs/ld-monetary.c: Likewise.
4544 * locale/programs/ld-name.c: Likewise.
4545 * locale/programs/ld-numeric.c: Likewise.
4546 * locale/programs/ld-paper.c: Likewise.
4547 * locale/programs/ld-telephone.c: Likewise.
4548 * locale/programs/ld-time.c: Likewise.
4549 * locale/programs/linereader.c: Likewise.
4550 * locale/programs/linereader.h: Likewise.
4551 * locale/programs/localedef.c: Likewise.
4552 * locale/programs/locfile.c: Likewise.
4553 * locale/programs/locfile.h: Likewise.
4554 * locale/programs/repertoire.c: Likewise.
4556 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4558 * iconv/iconv_prog.c (main): If output file name is "-" write to
4560 (main): If -f or -t argument is missing use charset of the current
4563 2001-02-03 Andreas Jaeger <aj@suse.de>
4565 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4566 boundary for SSE/SSE-2 alignment.
4568 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4571 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4573 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4574 Remove comma at end of enum.
4576 * elf/dl-init.c: Add a few __builtin_expect.
4578 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
4580 2001-02-02 Ulrich Drepper <drepper@redhat.com>
4582 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4583 errno is ECONNREFUSED.
4585 * posix/Makefile: Define MBS_SUPPORT for regex.c.
4586 * posix/regex.c: Implement multibyte character handling.
4587 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4589 * string/tst-svc.input: Add two more test cases.
4590 * string/tst-svc.expect: Modify to reflect new test cases.
4592 2001-02-01 Jakub Jelinek <jakub@redhat.com>
4594 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4595 tp->name tests with tp->name[0] tests.
4597 2001-01-29 Ben Collins <bcollins@debian.org>
4599 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4600 Fix check for name == NULL.
4602 2001-02-01 Ulrich Drepper <drepper@redhat.com>
4604 * elf/Makefile: Add rules to build and run initfirst test.
4605 * elf/initfirst.c: New file.
4606 * elf/firstobj.c: New file.
4608 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4609 * configure.in: Test for -z initfirst linker option.
4610 * config.make.in: Add have-z-initfirst.
4611 * elf/dl-init.c (_dl_init): Split out actual initialization code in
4612 new function call_init. If _dl_initfirst is non-NULL initialize first.
4613 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4614 remember object in _dl_initfirst.
4615 * elf/soinit.c: Remove special support for calling
4616 __pthread_initialize_minimal.
4618 * conform/conformtest.pl: Add missing $prepend in type test.
4620 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4622 * elf/elf.h (SHT_CHECKSUM): New definition.
4624 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4625 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4626 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4628 2001-01-31 Mark Kettenis <kettenis@gnu.org>
4630 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4631 to get definition of `struct timeval'.
4633 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4635 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4636 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4638 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4640 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4643 * nis/nis_findserv.c: Include <time.h>.
4645 2001-01-30 Yong Li <yong.li@asu.edu>
4647 * iconv/iconv_prog.c (main): Correct error handling method name.
4649 2001-01-29 Ben Collins <bcollins@debian.org>
4651 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4652 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4653 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4654 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4656 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4658 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4659 Patch by Marko Myllynen <myllynen@lut.fi>.
4661 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4662 (int instead of char).
4663 (__strpbrk_c3): Likewise.
4664 Reported by GOTO Masanori <gotom@debian.or.jp>.
4666 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4667 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4668 * include/sys/socket.h: Add SA_LEN here for internal use.
4669 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4671 2001-01-29 Ulrich Drepper <drepper@redhat.com>
4673 * malloc/Makefile: Don't build memusagestat if cross-compiling.
4675 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4677 * math/libm-test.inc (rint_test): Add a few more tests for round
4680 2001-01-28 Ulrich Drepper <drepper@redhat.com>
4682 * conform/data/pthread.h-data: Correct return type of pthread_exit.
4684 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4686 * conform/data/stdlib.h-data: Add _Exit.
4688 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
4689 if not already happened.
4690 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4691 Don't include <limits.h> and <bits/sockaddr.h>.
4693 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4695 * conform/data/spawn.h-data: Allow all of <sched.h>.
4697 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
4700 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4701 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4703 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4705 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4706 * libio/stdio.h: Define va_list correctly.
4708 * conform/data/pthread.h-data: Make priority protocol related
4709 functions optional. Fix typos.
4711 * posix/sched.h: Define sched_priority as __sched_priority.
4712 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4713 to __sched_priority.
4714 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4716 2001-01-27 Ulrich Drepper <drepper@redhat.com>
4718 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4721 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4722 * sysdeps/unix/time.c: Likewise.
4724 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
4725 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4726 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4727 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4728 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4729 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4730 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4731 * time/time.h: Likewise.
4733 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4734 * conform/data/complex.h-data: New file.
4735 * conform/data/tgmath.h-data: New file.
4737 * conform/data/wchar.h-data: Add missing functions.
4739 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4741 * conform/data/termios.h-data: Add missing const in tcsetattr()
4744 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4745 Don't define pid_t here.
4747 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4749 * conform/data/sys/time.h-data: Allow sys/select.h.
4750 * conform/data/sys/un.h-data: Fix typo.
4751 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4752 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4754 * sysdeps/unix/clock_nanosleep.c: Likewise.
4755 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4756 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4757 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4758 * sysdeps/unix/clock_settime.c: Likewise.
4760 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4761 * login/getutent.c: Likewise.
4762 * login/getutid.c: Likewise.
4763 * login/getutline.c: Likewise.
4765 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4767 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4768 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
4769 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4770 f_fsid field after change in struct statvfs.
4771 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4772 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4773 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4775 * conform/data/sys/stat.h-data: Remove isfdtype. Use
4778 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
4779 recvfrom, send, and socketpair prototypes. Add allow lines.
4780 * socket/sys/socket.h: Include <sys/uio.h>.
4781 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4782 Fix type of second parameter of listen.
4783 Don't declare isfdtype unless __USE_MISC.
4784 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4785 * sysdeps/mach/hurd/listen.c: Likewise.
4786 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4787 ss_family and __ss_family.
4788 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4789 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4790 (struct msghdr): Change type of msg_iovlen to int and type of
4791 msg_controllen to socklen_t.
4792 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4793 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4795 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4796 (rresvport_af): Likewise.
4798 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4799 * conform/conformtest.pl: Implement handling of symbol.
4801 * signal/signal.h: Fix handling of __need_* symbols.
4802 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
4803 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
4804 * include/sys/select.h: Use fd_set not __fd_set.
4805 * sysdeps/generic/bits/select.h: Likewise.
4806 * sysdeps/i386/bits/select.h: Likewise.
4807 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4808 __FDELT, __FDMASK, and __fd_set here.
4809 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4810 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4811 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4812 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4813 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4814 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4815 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4816 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4817 * time/sys/time.h: Define struct timeval before including <time.h>
4820 * conform/data/sys/time.h-data: fd_set is a typedef.
4821 * conform/data/sys/select.h-data: New file.
4822 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4823 * conform/conformtest.pl (@headers): Add sys/select.h.
4824 (type, optional-type): Unless testing a typedef instantiate object.
4825 Implement optional-function.
4827 * math/test-misc.c: Include <float.h>.
4829 2001-01-27 Andreas Jaeger <aj@suse.de>
4831 * misc/efgcvt_r.c: Include <float.h>.
4833 2001-01-26 Ulrich Drepper <drepper@redhat.com>
4835 * conform/data/stdlib.h-data: Account for XPG6 changes.
4836 * stdlib/stdlib.h (__random): Change return value type to long.
4837 (posix_memalign): Cleanup parameter names.
4838 (setenv, unsetenv): Make available for __USE_XOPEN2K.
4839 Change return type of unsetenv to int.
4840 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4841 * include/stdlib.h: Change return type of unsetenv to int.
4842 Change return type of random to long int.
4843 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4844 Return -1 and set errno if parameter is invalid.
4845 * stdlib/random.c (__random): Change return value type to long.
4847 * conform/data/stdio.h-data: Account for changes in XPG6.
4849 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4852 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4853 * conform/data/signal.h-data: Fix sigev_notify_function entry.
4854 Fix typo (SIGVALRM -> SIGVTALRM).
4855 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4857 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4858 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4859 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4863 * conform/conformtest.pl: Implement optional-element. Define
4864 $mustprepend{"sched.h"}.
4865 * conform/data/sched.h-data: Make sporadic scheduler definitions
4868 * pwd/pwd.h: Don't define getpwent_r for XPG.
4870 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4871 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4872 * sysdeps/mach/hurd/poll.c: Likewise.
4873 * sysdeps/unix/bsd/poll.c: Likewise.
4874 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4875 * sysdeps/unix/sysv/aix/poll.c: Likewise.
4876 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4877 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4878 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4879 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4880 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4881 * conform/data/poll.h-data: Fix typo in poll prototype.
4883 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4885 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4887 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
4889 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4891 * conform/conformtest.pl: Implement optional-type.
4893 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
4894 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
4895 defining uint32_t here. Define IPPORT_RESERVED.
4896 (struct hostent): Type of h_length element is int.
4897 (getnameinfo): Type of flags parameter is unsigned int.
4898 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4899 * conform/data/netdb.h-data: Add many missing definitions.
4901 * conform/conformtest.pl: Implement optional-macro.
4902 * conform/data/math.h-data: Update for XPG6.
4904 * math/math.h (HUGE): Define as FLT_MAX value but don't use
4905 FLT_MAX. Don't include <float.h>.
4906 (MAXFLOAT): Likewise.
4908 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4910 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4912 * conform/data/limits.h-data: Mark constants as optional wherever
4915 * posix/bits/posix2_lim.h: Set correct values for
4916 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
4919 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4922 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4924 * conform/data/netinet/in.h-data: Add reserved prefixes.
4926 * conform/data/arpa/inet.h-data: Fix a few typos.
4928 2001-01-26 Andreas Jaeger <aj@suse.de>
4930 * sysdeps/generic/strtol.c: Include <locale.h>
4931 * stdlib/strtod.c: Likewise
4932 * stdlib/strfmon.c: Likewise.
4933 * string/strcoll.c: Likewise.
4934 * string/strxfrm.c: Likewise.
4935 * wctype/wcfuncs_l.c: Likewise.
4936 * wctype/wctype_l.c: Likewise.
4937 * wctype/wctrans_l.c: Likewise.
4939 * include/bits/locale.h: New file.
4941 2001-01-26 Ulrich Drepper <drepper@redhat.com>
4943 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4946 * locale/Makefile (headers): Add bits/locale.h.
4947 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
4948 and use __LC_ constants instead of LC_.
4949 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4950 using __LC_ constants.
4951 * locale/bits/locale.h: New file.
4952 * locale/loadlocale.c: Include <locale.h>.
4953 * locale/nl_langinfo.h: Likewise.
4955 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4957 * io/sys/stat.h: Define S_IFSOCK for XPG6.
4959 * conform/data/fcntl.h-data: posix_madvise is not expected here.
4961 * conform/conformtest.pl: Fix handling of macro-str.
4963 * conform/data/inttypes.h-data: Add missing definition and all of
4966 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4968 2001-01-25 Ulrich Drepper <drepper@redhat.com>
4970 * conform/conformtest.pl (@headers): Add stdint.h.
4971 * conform/data/stdint.h-data: New file.
4973 * conform/conformtest.pl: Recognize options --headers and
4974 --dialect. Add dialect-specific CFLAGS.
4976 * conform/conformtest.pl: Implement handling of recursive
4979 * conform/data/locale.h-data: Add new struct lconv members.
4981 * posix/wordexp.h: Correct definition of wordexp_t.
4982 * posix/wordexp.c: Moved to ...
4983 * sysdeps/generic/wordexp.c: ...here. New file.
4984 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4985 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4986 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4987 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4989 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4992 * math/tgmath.h: Pretty printing.
4994 * math/Makefile (tests): Add test-tgmath.
4995 (CFLAGS-test-tgmath.c): New variable.
4996 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
4998 * conform/conformtest.pl: Handle allow-header in secondary headers
5001 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
5004 * conform/data/netinet/in.h-data: Use correct comment character.
5005 * conform/data/sys/stat.h-data: Likewise.
5007 2001-01-25 Jakub Jelinek <jakub@redhat.com>
5009 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
5010 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
5011 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
5012 __builtin_classify_type, add ##f suffixes where appropriate.
5013 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
5014 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
5015 __builtin_classify_type.
5016 (fma): Fix spelling of first argument.
5018 2001-01-25 Ulrich Drepper <drepper@redhat.com>
5020 * conform/data/unistd.h-data: Mark functions removed in XPG6
5023 * posix/unistd.h: Don't make functions removed in XPG6 available if
5026 * conform/conformtest.pl: Implement optional-constant.
5027 * conform/data/unistd.h-data: Use optional-constant wherever
5030 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
5031 constants and add _SC_STREAMS.
5032 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5034 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
5035 make old name weak alias.
5036 * sysdeps/generic/statvfs64.c: Likewise.
5037 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
5038 make old name weak alias.
5039 * sysdeps/generic/fstatvfs64.c: Likewise.
5040 * include/sys/statvfs.h: New file.
5042 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
5043 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
5045 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
5046 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5047 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
5048 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5050 * conform/conformtest.pl: Run Unix tests for XPG6.
5051 Implement handling of known namespace violations.
5052 Improve printing of results.
5054 * posix/unistd.h (usleep): Correct return type.
5055 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
5056 * sysdeps/unix/bsd/usleep.c: Correct return type.
5057 * sysdeps/mach/usleep.c: Correct return type.
5058 * sysdeps/generic/usleep.c: Correct return type.
5060 * posix/unistd.h (sync): Correct return type.
5061 * sysdeps/generic/sync.c: Likewise.
5062 * sysdeps/mach/hurd/sync.c: Likewise.
5064 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
5066 * posix/unistd.h: Make seteuid and setegid available for XPG6.
5068 * wcsmbs/wchar.h: Get FILE definition for XPG5.
5070 * conform/data/ctype.h-data: Use correct comment form.
5071 * conform/data/errno.h-data: Likewise.
5072 * conform/data/math.h-data: Likewise.
5073 * conform/data/mqueue.h-data: Likewise.
5074 * conform/data/netdb.h-data: Likewise.
5075 * conform/data/pthread.h-data: Likewise.
5077 2001-01-24 Ulrich Drepper <drepper@redhat.com>
5079 * conform/data/wordexp.h-data: Fix typo.
5081 * conform/conformtest.pl: Handle allow-header correctly.
5083 * conform/data/time.h-data: Use correct comment form.
5085 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
5087 * configure.in: Comment out binutils version test.
5089 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
5091 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
5093 * stdlib/tst-strtod.c (locale_test): New function.
5094 (main): Call locale_test.
5095 * stdlib/Makefile (tst-strtod-ENV): New variable.
5097 2001-01-24 Mark Kettenis <kettenis@gnu.org>
5099 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
5100 declaration of value such that we actually return the value of the
5101 environment variable.
5103 2001-01-24 Andreas Jaeger <aj@suse.de>
5105 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
5107 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5109 * include/sys/sysctl.h: New file.
5111 2001-01-23 Andreas Jaeger <aj@suse.de>
5113 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
5116 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
5117 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
5118 closes PR libc/2039.
5120 * manual/install.texi (Tools for Compilation): Change required
5123 2001-01-22 Andreas Jaeger <aj@suse.de>
5125 * configure.in: Add test for new enough binutils version, move
5126 compiler/binutils test up.
5128 * Versions.def: Add version GLIBC_2.2.2.
5130 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5132 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
5134 * iconvdata/testdata/IBM932: New file.
5135 * iconvdata/testdata/IBM932..UTF8: New file.
5136 * iconvdata/testdata/IBM943: New file.
5137 * iconvdata/testdata/IBM943..UTF8: New file.
5138 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
5140 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5142 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
5144 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5146 * malloc/malloc.c: Remove a few unnecessary initializers of global
5149 2000-12-09 H.J. Lu <hjl@gnu.org>
5151 * nss/Makefile (routines): Add digits_dots.
5152 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
5153 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
5155 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
5157 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
5158 (TYPE_VAR_P): Likewise.
5159 (FLAGS_VAR): Likewise.
5160 (AF_VAR_P): Likewise.
5161 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5162 instead of including digits_dots.c.
5163 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
5164 (TYPE_VAR_P): Likewise.
5165 (FLAGS_VAR): Likewise.
5166 (AF_VAR_P): Likewise.
5167 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
5168 instead of including digits_dots.c.
5170 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5172 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
5174 2001-01-21 Andreas Jaeger <aj@suse.de>
5176 * elf/constload2.c: Add prototype for init.
5178 2001-01-21 Ulrich Drepper <drepper@redhat.com>
5180 * stdlib/stdlib.h (drand48_data): Make available only for
5181 __USE_MISC. Rename elements to protect namespace. Change type
5182 and position of a and init element.
5183 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
5184 differently. Adjust for drand48_data change. Don't compute a here,
5185 it comes from drand48_data.
5186 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
5187 differently. Adjust for drand48_data change. Compute a here.
5188 * stdlib/srand48_r.c: Likewise.
5189 * stdlib/drand48.c: Adjust for drand48_data change.
5190 * stdlib/lrand48.c: Likewise.
5191 * stdlib/mrand48.c: Likewise.
5192 * stdlib/seek48.c: Likewise.
5193 * stdlib/drand48_r.c: Likewise.
5194 * stdlib/lrand48_r.c: Likewise.
5195 * stdlib/mrand48_r.c: Likewise.
5196 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
5198 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
5199 * stdlib/jrand48_r.c: Likewise.
5201 * po/sv.po: Update from translation team.
5203 2001-01-21 Andreas Jaeger <aj@suse.de>
5205 * stdio-common/vfprintf.c (vfprintf): Add casts.
5207 2001-01-20 Ulrich Drepper <drepper@redhat.com>
5209 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
5211 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
5213 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
5214 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
5215 * iconvdata/ibm932.c: New file.
5216 * iconvdata/ibm932.h: New file.
5217 * iconvdata/ibm943.c: New file.
5218 * iconvdata/ibm943.h: New file.
5219 Patches by Masahide Washizawa <washi@jp.ibm.com>.
5221 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
5222 preventing optimization from being done. Set the correct type bit
5223 in seen. Don't define and use _dl_base_addr unless
5224 NEED_DL_BASE_ADDR is defined.
5226 * io/ftw.c (ftw_dir): Add slash after directory name if there
5227 wasn't any. Reported by loris <loris@iol.it>.
5228 * io/Makefile (tests): Add bug-ftw2.
5229 * io/bug-ftw2.c: New file.
5231 2001-01-19 Ulrich Drepper <drepper@redhat.com>
5233 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
5234 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
5235 * stdlib/tst-rand48.c: New file.
5236 * stdlib/Makefile (tests): Add tst-rand48.
5238 * locale/newlocale.c (__newlocale): Fix test for setting all
5241 2001-01-19 Mark Kettenis <kettenis@gnu.org>
5243 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
5244 but change looking up the initial directory port in a similar way
5245 as done by _hurd_change_directory_port_from_name.
5246 * hurd/fchroot.c (fchroot): Likewise.
5248 2001-01-18 Ulrich Drepper <drepper@redhat.com>
5250 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
5251 defined don't look whether the AT_*ID values were set.
5252 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
5253 (_dl_show_auxv): Rewrite to avoid switch statement.
5254 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5255 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
5256 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
5257 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
5259 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
5260 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5261 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5263 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
5265 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
5266 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
5268 * dlfcn/eval.c (__strtol_internal): Define here.
5269 (eval): Use __strtol_internal instead of strtol.
5271 * elf/elf.h: Add a few more EF_MIPS_* constants.
5273 2001-01-17 Ulrich Drepper <drepper@redhat.com>
5275 * manual/Makefile (chapters): Add debug.
5276 * manual/debug.texi: New file.
5277 * manual/examples/execinfo.c: New file.
5278 Patch by suckfish@ihug.co.nz.
5280 2001-01-17 Andreas Schwab <schwab@suse.de>
5282 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
5285 2001-01-17 Andreas Jaeger <aj@suse.de>
5287 * nscd/connections.c (nscd_run): Use proper format specifier.
5289 2001-01-16 Ulrich Drepper <drepper@redhat.com>
5291 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
5292 x86_platforms data into new file after prepending _dl_. Change
5294 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
5295 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
5296 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
5299 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
5301 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
5302 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
5303 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
5304 (_setjmp): Likewise.
5305 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
5306 * sysdeps/i386/bsd-setjmp.S: Real implementation.
5307 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
5308 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
5311 2001-01-16 Andreas Jaeger <aj@suse.de>
5313 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
5314 misapplied last patch.
5316 2001-01-15 Ulrich Drepper <drepper@redhat.com>
5318 * stdlib/random.c (__initstate): Clean up a cast.
5319 (__setstate): Likewise.
5321 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
5322 syscall handling. The generic Linux version should work.
5324 2001-01-15 Andreas Jaeger <aj@suse.de>
5326 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
5328 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
5330 2001-01-14 Jakub Jelinek <jakub@redhat.com>
5332 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
5333 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
5335 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
5336 If number is 0, list all.
5337 (services_keys): Likewise. Lookup aliases as well.
5338 (databases): New table.
5339 (build_doc): Prepare argp doc text with list of supported databases.
5340 (main): Change to table driven processing.
5342 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
5344 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
5347 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5349 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
5350 encode value which does not fit in the 32bit type.
5352 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
5354 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
5355 Change type of CTX to (struct sigcontext *).
5356 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
5357 (GET_FRAME): Likewise.
5358 (GET_STACK): Likewise.
5359 (SIGCONTEXT): Likewise. Add 2nd arg _code.
5360 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
5362 2001-01-13 Ulrich Drepper <drepper@redhat.com>
5364 * manual/texinfo.tex: Update from upstream version.
5366 2001-01-13 Jakub Jelinek <jakub@redhat.com>
5368 * inet/ether_ntoh.c (lookup_function): Change arguments to match
5369 _nss_*_getntohost_r prototype.
5370 (ether_ntohost): Pass errno pointer to NSS function.
5372 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5374 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
5375 (MAP_LOCKED): New definition.
5376 (MAP_NORESERVE): New definition.
5378 2001-01-12 Ulrich Drepper <drepper@redhat.com>
5380 * assert/assert.h: Use static_cast instead of C-style cast for C++.
5381 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
5383 2001-01-12 Ben Collins <bcollins@debian.org>
5385 * sysdeps/generic/segfault.c (install_handler): Use access, not
5388 2001-01-12 Andreas Jaeger <aj@suse.de>
5390 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
5391 * posix/wordexp.c (do_parse_glob): Likewise.
5392 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5393 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
5394 * elf/dl-open.c (_dl_open): Likewise.
5395 * elf/dl-close.c (_dl_close): Likewise.
5396 * elf/dl-load.c (_dl_map_object): Likewise.
5397 * iconv/iconv_prog.c (process_fd): Likewise.
5398 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
5400 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
5401 of a zero-length array.
5403 2001-01-11 Jakub Jelinek <jakub@redhat.com>
5405 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
5406 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
5407 * stdlib/cxa_on_exit.c: Remove.
5408 * stdlib/Makefile: Revert last patch.
5409 * stdlib/Versions: Likewise.
5410 * include/stdlib.h: Likewise.
5411 * stdlib/exit.h: Revert last patch.
5412 (struct exit_function): Add second argument to cxa fn.
5413 * stdlib/exit.c: Revert last patch.
5414 (exit): Add hidden second argument.
5416 2001-01-11 H.J. Lu <hjl@gnu.org>
5418 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
5419 * elf/dl-open.c (_dl_open): Here.
5420 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
5422 (_dl_static_init): Initialize the variables every time when possible.
5423 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
5426 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5428 * stdlib/Makefile (routines): Add cxa_on_exit.
5429 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
5430 * stdlib/cxa_on_exit.c: New file.
5431 * include/stdlib.h: Add prototype for __cxa_on_exit.
5432 * stdlib/exit.c: Handle ef_cxa2.
5433 * stdlib/exit.h (enum): Add ef_cxa2.
5434 (struct exit_function): Add cxa2.
5436 * Versions.def [ld]: Add GLIBC_2.2.1.
5438 2001-01-10 H.J. Lu <hjl@gnu.org>
5440 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
5441 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
5443 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
5444 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
5445 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
5446 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
5447 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
5449 2001-01-11 Ulrich Drepper <drepper@redhat.com>
5451 * libio/stdio.h: Remove definition of off_t.
5453 2001-01-11 Andreas Jaeger <aj@suse.de>
5455 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
5458 2001-01-10 Ulrich Drepper <drepper@redhat.com>
5460 * sunrpc/Makefile (distribute): Add errqueue.h.
5462 2001-01-10 H.J. Lu <hjl@gnu.org>
5464 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
5465 r9, r10 and r11 for language specific registers.
5467 2001-01-10 Jakub Jelinek <jakub@redhat.com>
5469 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
5471 (clntudp_call): Handle MSG_ERRQUEUE.
5472 * sysdeps/generic/errqueue.h: New file.
5473 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5475 2001-01-10 H.J. Lu <hjl@gnu.org>
5477 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5479 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5481 * CONFORMANCE: Update.
5483 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5485 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5486 Minimal cleanups. Add assert to ensure memory handling is correct.
5488 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5489 Reported by Ben Collins <bcollins@debian.org>.
5491 * time/strftime.c (my_strftime): Mark previous GNU extensions
5492 which are now in C99 as such.
5494 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5496 * elf/rtld.c (process_envvars): Place output files for profiling
5497 in SUID binaries in /var/profile.
5499 * elf/dl-load.c (_dl_map_object): Don't look in cache for
5500 preloading in SUID binaries.
5502 * elf/dl-profile.c (_dl_start_profile): Open the output file with
5503 O_NOFOLLOW if possible.
5505 * include/stdlib.h: Add __posix_openpt declaration.
5506 * stdlib/stdlib.h: Add posix_openpt declaration.
5507 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5508 * sysdeps/generic/getpt.c: Define posix_openpt.
5509 * sysdeps/unix/bsd/getpt.c: Likewise.
5510 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5512 * time/Makefile (tests): Add tst-mktime.
5513 * time/tst-mktime.c: New file.
5515 * posix/tst-dir.c (main): One more mkdir() test.
5517 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5518 Remove getpagesize syscall. We assume that the pagesize is always
5519 determined from the auxiliary vector.
5521 * intl/dcigettext.c: Fix a few warnings.
5522 Patch by Bruno Haible <haible@ilog.fr>.
5524 2001-01-08 Andreas Jaeger <aj@suse.de>
5526 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5527 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5529 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5531 * sysdeps/generic/segfault.c (install_handler): Check output file
5534 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5535 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5537 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5539 * malloc/memusage.c (me): Use access() to determine whether we
5540 should write the output file or not.
5542 * libio/bits/stdio.h (printf): Define macro to map printf call to
5543 fprintf which gcc can optimize.
5544 * stdio-common/printf.c: Undefine printf.
5546 2001-01-07 Ulrich Drepper <drepper@redhat.com>
5548 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5549 patch. We must use unsigned int for l member of union.
5551 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5552 _dl_aux_init for shared libraries.
5554 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5555 * sysdeps/gnu/glob64.c: ...here. New file.
5557 2001-01-07 Ben Collins <bcollins@debian.org>
5559 * manual/examples/longopt.c: Make the "struct option" a little
5560 more like it should be, adding usage of required_argument,
5561 noargument and such, and also setting the options string right.
5563 * manual/sysinfo.texi (Load Average): New section, documents
5566 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5568 * version.h (VERSION): Bump to 2.2.1.
5570 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5571 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5572 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5573 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5574 * Makefile (distribute): Add include/libc-internal.h.
5575 * libio/Makefile (distribute): Avoid overwriting.
5577 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5578 buffer and table handling.
5580 2001-01-05 H.J. Lu <hjl@gnu.org>
5582 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5583 vector checking to ...
5584 (_dl_aux_init): Here. New function. Defined only if
5585 HAVE_AUX_VECTOR is defined.
5587 * sysdeps/generic/libc-start.c (__libc_start_main): Call
5588 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5590 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5593 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5594 (HAVE_AUX_VECTOR): Defined.
5595 (_dl_aux_init): Declared.
5597 2001-01-05 Ben Collins <bcollins@debian.org>
5599 * manual/string.texi (Finding Tokens in a String): Document XPG
5600 basename() and dirname(), as well as GNU basename().
5602 2001-01-05 Jakub Jelinek <jakub@redhat.com>
5604 * Makeconfig (preprocess-version): Replace -traditional with
5605 -x assembler-with-cpp.
5607 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
5609 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5610 for GCC 2.97 or later.
5612 2001-01-05 Ben Collins <bcollins@debian.org>
5614 * manual/stdio.texi (getline): Clarify the return value in the
5615 case of EOF being reached before a newline.
5617 2001-01-04 Jakub Jelinek <jakub@redhat.com>
5619 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5621 (pmap_set, pmap_unset): Check __get_myaddress return value.
5623 2001-01-05 Mark Kettenis <kettenis@gnu.org>
5625 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5626 (struct ether_addr): Declare ether_addr_octet member as
5627 `u_int8_t'. Add __attribute__ ((__packed__)).
5629 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5631 * sysdeps/mach/hurd/readdir64.c: New file.
5632 * sysdeps/mach/hurd/readdir64_r.c: New file.
5634 2001-01-07 Mark Kettenis <kettenis@gnu.org>
5636 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5637 `struct statfs' and `struct statvfs' being identical.
5638 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5640 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5642 * sysdeps/mach/hurd/fstatfs64.c: New file.
5643 * sysdeps/mach/hurd/fstatvfs64.c: New file.
5644 * sysdeps/mach/hurd/statfs64.c: New file.
5645 * sysdeps/mach/hurd/statvfs64.c: New file.
5646 * sysdeps/mach/hurd/statfsconv.c: New file.
5647 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5649 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5651 * iconv/skeleton.c: Reset outbuf for next round of the loop.
5652 Reported by Owen Taylor <otaylor@redhat.com>.
5653 * iconv/Makefile (tests): Add tst-iconv3.
5654 * iconv/tst-iconv3.c: New file.
5656 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
5657 * iconvdata/ibm933.c: Likewise.
5658 * iconvdata/ibm935.c: Likewise.
5659 * iconvdata/ibm937.c: Likewise.
5660 * iconvdata/ibm939.c: Likewise.
5661 * iconvdata/ibm930.h: Adjust single byte table for optimization.
5662 * iconvdata/ibm933.h: Likewise.
5663 * iconvdata/ibm935.h: Likewise.
5664 * iconvdata/ibm939.h: Likewise.
5666 * iconvdata/testdata/IBM930: Add misssing SI.
5667 * iconvdata/testdata/IBM933: Likewise.
5668 * iconvdata/testdata/IBM935: Likewise.
5669 * iconvdata/testdata/IBM937: Likewise.
5670 * iconvdata/testdata/IBM939: Likewise.
5672 2001-01-06 Andreas Jaeger <aj@suse.de>
5674 * configure.in: Check for old add-ons that shouldn't be used with
5675 current glibc anymore.
5677 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5679 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5680 instead of -1 on failure. Don't forget to copy file name into
5681 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
5684 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5686 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5687 copy st_atime member.
5689 2001-01-05 Ulrich Drepper <drepper@redhat.com>
5691 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5692 for searches from the root directory.
5693 Reported by loris <loris@iol.it> [PR libc/1991].
5694 * io/Makefile (tests): Add bug-ftw1.
5695 * io/bug-ftw1.c: New file.
5697 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5698 if it is not available. Instead use it only if it is available.
5699 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5701 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5702 overflowing output buffer.
5703 (internal_ucs4_loop_unaligned): Likewise.
5704 (ucs4_internal_loop): Likewise.
5705 (ucs4_internal_loop_unaligned): Likewise.
5706 (internal_ucs4le_loop): Likewise.
5707 (internal_ucs4le_loop_unaligned): Likewise.
5708 (ucs4le_internal_loop): Likewise.
5709 (ucs4le_internal_loop_unaligned): Likewise.
5710 Reported by Owen Taylor <otaylor@redhat.com>.
5711 * iconv/Makefile (tests): Add tst-iconv2.
5712 * iconv/tst-iconv2.c: New file.
5714 2001-01-04 H.J. Lu <hjl@gnu.org>
5716 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
5717 (_dl_clktck): Declared.
5718 (non_dynamic_init): Take 3 arguments.
5719 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5721 2001-01-01 Bruno Haible <haible@clisp.cons.org>
5723 Finish implementation of plural form handling.
5724 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5725 'domainname'. Remove 'plindex' field. Add 'domain' and
5726 'translation_length' fields.
5727 (transcmp): Don't compare 'plindex' fields.
5728 (plural_lookup): New function.
5729 (DCIGETTEXT): Change cache handing in the plural case. Don't call
5730 plural_eval before the translation and its catalog file have been
5731 found. Remove plindex from cache key. Add 'translation_length' and
5732 'domain' to cache result.
5733 (_nl_find_msg): Remove index argument, return length of translation
5734 to the caller instead. Weaken comparison of string lengths, to account
5735 for plural entries. Call iconv() on the entire result string, not
5736 only on the portion needed so far.
5737 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5739 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5741 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5743 * intl/plural.y (yylex): Minimal improvement in number scanner.
5745 2000-07-31 Bruno Haible <haible@clisp.cons.org>
5747 * intl/plural.y: Include config.h. Needed to define 'inline' away for
5748 C compilers that don't support it.
5749 (yylex): Don't use gcc specific case range syntax.
5750 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5753 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5755 * intl/finddomain.c: Remove unneeded includes.
5757 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5759 * intl/localealias.c (memcpy): Return first argument, just like the
5760 real memcpy function does.
5761 * intl/bindtextdom.c (memcpy): Likewise.
5762 * intl/finddomain.c (memcpy): Likewise.
5763 * intl/l10nflist.c (memcpy): Likewise.
5764 * intl/textdomain.c (memcpy): Likewise.
5765 From Paul Eggert <eggert@twinsun.com>.
5767 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5769 * resolv/resolv.h (struct __res_state): Add nsinit field.
5770 * resolv/res_send.c (res_nsend): Use it instead of nscount.
5771 * resolv/res_init.c (__res_vinit): Initialize it.
5772 (res_nclose): Clear it instead of nscount.
5774 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5776 * malloc/mtrace.pl: Fix matching of addresses.
5777 Patch by Aharon Robbins <arnold@skeeve.com>.
5779 * Versions.def (ld): Add GLIBC_2.2.
5781 * catgets/gencat.c: Copyright 2001.
5782 * csu/version.c: Likewise.
5783 * debug/catchsegv.sh: Likewise.
5784 * debug/xtrace.sh: Likewise.
5785 * elf/ldconfig.c: Likewise.
5786 * elf/sprof.c: Likewise.
5787 * iconv/iconv_prog.c: Likewise.
5788 * locale/locale.c: Likewise.
5789 * locale/localedef.c: Likewise.
5790 * malloc/memusage.sh: Likewise.
5791 * malloc/mtrace.pl: Likewise.
5792 * nscd/nscd.c: Likewise.
5793 * posix/getconf.c: Likewise.
5795 2001-01-04 Mark Kettenis <kettenis@gnu.org>
5797 * include/stdio.h: Only provide __getwc_unlocked prototype if
5798 USE_IN_LIBIO is defined.
5800 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5802 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5805 2001-01-03 Andreas Schwab <schwab@suse.de>
5807 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5808 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5810 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5811 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5813 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5814 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5817 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5819 * sysdeps/generic/strtol_l.c: Likewise.
5820 * sysdeps/generic/strtoul_l.c: Likewise.
5821 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5823 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5824 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5825 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5826 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5828 2001-01-04 Andreas Jaeger <aj@suse.de>
5830 * nss/nsswitch.c: Include files for missing prototypes, remove
5831 buggy declaration of prototypes.
5833 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5835 * resolv/Versions: Fix bracing.
5836 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5837 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5839 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5841 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5843 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5845 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5846 Suggested by Minko Markov <mmarkov@home.com>.
5848 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5850 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5851 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5853 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5855 2001-01-02 Ben Collins <bcollins@debian.org>
5857 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5858 if TZ is not set and TZDEFAULT is not present.
5860 2001-01-01 Ben Collins <bcollins@debian.org>
5862 * string/strings.h: Make sure we declare our functions even if
5863 string.h is already included, based on whether or not __USE_BSD is
5866 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5868 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5869 other dlopen() and dlsym().
5870 Based on a patch by Ben Collins <bcollins@debian.org>.
5872 2001-01-02 Andreas Jaeger <aj@suse.de>
5874 * dlfcn/errmsg1.c (main): Call dlerror initially.
5875 Reported by Ben Collins <bcollins@debian.org>.
5877 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5879 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5880 value is ignored if the selected locale is the C locale.
5881 * intl/tst-gettext.c: Set locale for above change.
5882 * intl/tst-translit.c: Likewise.
5884 2001-01-02 Andreas Jaeger <aj@suse.de>
5886 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5887 (_IO_switch_to_wget_mode): Likewise.
5888 (_IO_sputbackwc): Likewise.
5889 (_IO_sungetwc): Use wint_t for result.
5891 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5893 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5896 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5897 to (int) to avoid warnings.
5898 * stdio-common/printf_fp.c (putc): Likewise.
5899 * stdio-common/printf_size.c (putc): Likewise.
5901 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5904 2001-01-01 Andreas Jaeger <aj@suse.de>
5906 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5908 2000-12-31 Andreas Jaeger <aj@suse.de>
5910 * include/libc-internal.h: Add prototype for __libc_freeres.
5912 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5913 for prototypes, remove redundant prototypes.
5914 * gmon/gmon.c: Likewise.
5915 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5916 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5917 * malloc/mtrace.c: Likewise.
5919 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5921 * elf/soinit.c: Likewise.
5922 * sysdeps/generic/prof-freq.c: Likewise.
5923 * sysdeps/mach/hurd/profil.c: Likewise.
5924 * debug/noophooks.c: Likewise.
5925 * debug/pcprofile.c: Likewise.
5926 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5927 * sysdeps/generic/get_clockfreq.c: Likewise.
5928 * malloc/set-freeres.c: Likewise.
5930 * locale/localeinfo.h: Add internal prototypes.
5932 * elf/rtld.c (dl_main): Fix prototype.
5934 * iconvdata/tst-table-to.c (main): Use return instead of exit to
5937 * nis/rpcsvc/yp_prot.h: Remove __P.
5938 * nis/rpcsvc/ypupd.h: Likewise.
5939 * nis/rpcsvc/yp.h: Likewise.
5941 * sunrpc/rpc_main.c: Add noreturn attributes.
5942 * sunrpc/rpc_scan.h: Likewise.
5944 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5946 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5948 * sunrpc/proto.h: Add noreturn attributes to error and crash.
5950 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5952 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5954 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5956 * include/rpc/rpc_msg.h: Add prototypes for some functions.
5957 * include/rpc/auth.h: Likewise.
5958 * include/rpc/auth_des.h: Likewise.
5959 * include/rpc/clnt.h: Likewise.
5960 * include/rpc/rpc.h: Likewise.
5961 * include/rpc/svc.h: Likewise.
5962 * include/rpc/svc_auth.h: Likewise.
5964 * include/rpc/des_crypt.h: New file.
5966 * malloc/memusagestat.c (main): Use return instead of exit to
5968 * io/pwd.c (main): Likewise.
5969 * iconvdata/tst-table-from.c (main): Likewise.
5970 * ctype/test_ctype.c (main): Likewise.
5971 * setjmp/tst-setjmp.c (main): Likewise.
5972 * signal/tst-signal.c (main): Likewise.
5973 * stdlib/tst-strtol.c (main): Likewise.
5974 * stdlib/tst-strtod.c (main): Likewise.
5975 * stdlib/tst-strtoll.c (main): Likewise.
5976 * stdlib/tst-xpg-basename.c (main): Likewise.
5977 * dirent/tst-seekdir.c (main): Likewise.
5978 * grp/testgrp.c (main): Likewise.
5979 * inet/test_ifindex.c (main): Likewise.
5980 * io/test-utime.c (main): Likewise.
5981 * posix/test-vfork.c (main): Likewise.
5982 * posix/testfnm.c (main): Likewise.
5983 * stdio-common/temptest.c (main): Likewise.
5984 * stdio-common/test_rdwr.c (main): Likewise.
5985 * stdio-common/tst-fileno.c (main): Likewise.
5986 * stdio-common/tst-sscanf.c (main): Likewise.
5987 * stdio-common/tstscanf.c (main): Likewise.
5988 * string/bug-strncat1.c (main): Likewise.
5989 * string/bug-strpbrk1.c (main): Likewise.
5990 * string/bug-strspn1.c (main): Likewise.
5991 * string/test-ffs.c (main): Likewise.
5992 * string/tst-inlcall.c (main): Likewise.
5993 * string/tst-svc.c (main): Likewise.
5994 * timezone/test-tz.c (main): Likewise.
5995 * wctype/test_wcfuncs.c (main): Likewise.
5996 * wctype/test_wctype.c (main): Likewise.
5998 * stdlib/tst-random.c: Add attribute noreturn to fail.
6000 2000-12-28 Wolfram Gloger <wg@malloc.de>
6002 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
6003 destination overlap. Assume dest is always below source if
6006 2000-12-30 Ulrich Drepper <drepper@redhat.com>
6008 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
6009 object was not yet initialized.
6011 2000-12-28 H.J. Lu <hjl@gnu.org>
6013 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
6014 is always consistent even if its dependency is failed.
6016 * elf/dl-open.c (_dl_open): Increment the open count before
6017 calling _dl_close () in case of failure.
6019 * elf/neededtest4.c: New file.
6020 * elf/neededobj5.c: New file.
6021 * elf/neededobj6.c: New file.
6023 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
6024 (tests): Add neededtest4.
6025 (modules-names): Add neededobj5 and neededobj6.
6026 ($(objpfx)neededobj6.so): New target.
6027 ($(objpfx)neededtest4): New target.
6028 ($(objpfx)neededtest4.out): New target.
6030 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
6032 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
6033 * stdlib/monetary.h: Add strfmon format attributes.
6035 2000-12-28 Roland McGrath <roland@frob.com>
6037 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
6038 __mempcpy does it for us.
6040 2000-12-28 Andreas Jaeger <aj@suse.de>
6042 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
6044 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
6047 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
6050 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
6053 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
6054 __chown_is_lchown and __real_chown.
6056 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
6059 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
6060 up GCC's warning about "deprecated use of label at end of compound
6062 * sunrpc/rpc_cout.c (emit_inline): Likewise.
6064 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
6066 Remove struct bb and __bb_head since those are declared by
6069 2000-12-22 Ben Collins <bcollins@debian.org>
6071 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
6073 * manual/argp.texi: Document argp_domain as part of struct argp.
6075 2000-12-28 Andreas Jaeger <aj@suse.de>
6077 * catgets/Makefile (generated): Add sample.SJIS.cat.
6079 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
6081 * elf/dl-minimal.c: Add prototypes.
6083 * include/locale.h: Add internal prototypes.
6084 * include/sys/gmon.h: Likewise.
6086 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
6088 2000-12-27 Ben Collins <bcollins@debian.org>
6090 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
6091 when reallocating the error strings.
6092 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
6094 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6096 * dlfcn/Makefile (tests): Add errmsg1.
6097 (modules-names): Add errmsg1mod.
6098 Add rules to run errmsg1.
6099 * dlfcn/errmsg1.c: New file.
6100 * dlfcn/errmsg1mod.c: New file.
6102 * dlfcn/dlerror.c (dlerror): Always create output string which
6103 includes object file name.
6105 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
6106 if we would go through it only once.
6107 Patch by Rick Gorton <rick.gorton@api-networks.com>.
6109 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
6110 Patch by Richard Henderson <rth@redhat.com>.
6112 2000-12-27 Jakub Jelinek <jakub@redhat.com>
6114 * malloc/malloc.c (memmove): Add prototypes.
6115 (MALLOC_MEMMOVE): Define.
6116 (chunk_realloc): Use it instead of MALLOC_COPY if source and
6117 destination might overlap.
6119 2000-12-27 Andreas Jaeger <aj@suse.de>
6121 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
6123 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6124 * locale/programs/locale.c (show_locale_vars): Likewise.
6125 (show_info): Likewise.
6126 * locale/programs/ld-collate.c (collate_output): Likewise.
6127 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
6128 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6129 * stdlib/rpmatch.c (rpmatch): Likewise.
6131 * setjmp/tst-setjmp.c: Make local functions static.
6132 * setjmp/jmpbug.c: Likewise.
6133 * signal/tst-signal.c: Likewise.
6134 * stdio-common/tfformat.c: Likewise.
6135 * string/tst-svc.c: Likewise.
6136 * time/clocktest.c: Likewise.
6137 * time/tst-getdate.c: Likewise.
6138 * dirent/list.c: Likewise.
6139 * dirent/opendir-tst1.c: Likewise.
6140 * posix/runtests.c: Likewise.
6141 * posix/tst-getaddrinfo.c: Likewise.
6142 * posix/tst-chmod.c: Likewise.
6143 * posix/wordexp-test.c: Likewise.
6144 * misc/tst-efgcvt.c: Likewise.
6145 * timezone/tst-timezone.c: Likewise.
6146 * rt/tst-clock.c: Likewise.
6147 * rt/tst-shm.c: Likewise.
6148 * rt/tst-aio2.c: Likewise.
6149 * rt/tst-aio3.c: Likewise.
6150 * rt/tst-aio4.c: Likewise.
6151 * rt/tst-aio5.c: Likewise.
6153 * dlfcn/failtest.c: Add prototype for foo.
6155 * dlfcn/glrefmain.c: Add prototype for do_test.
6157 * dlfcn/tst-dladdr.c: Add prototype for do_test.
6159 * string/test-ffs.c (main): Add prototype for nested function.
6161 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
6163 * nss/XXX-lookup.c: Add prototype to shut up GCC.
6165 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
6166 setetherent prototype.
6167 Add internal interfaces.
6169 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
6170 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
6172 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
6174 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
6176 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
6177 prototypes, remove struct etherent since it's declared in ether.h.
6178 Fix ntohost declaration.
6180 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
6182 * include/getopt.h: Add internal interfaces.
6183 * include/termios.h: Likewise.
6184 * include/resolv.h: Likewise.
6185 * include/netdb.h: Likewise.
6186 * include/grp.h: Likewise.
6187 * include/pwd.h: Likewise.
6188 * include/shadow.h: Likewise.
6189 * include/rpc/netdb.h: Likewise.
6190 * include/setjmp.h: Likewise.
6192 * include/stdio.h: Add prototypes for compatibility functions.
6193 * include/grp.h: Likewise.
6194 * include/pwd.h: Likewise.
6195 * include/shadow.h: Likewise.
6197 * include/fenv.h: Define internal interfaces.
6199 2000-12-27 Ulrich Drepper <drepper@redhat.com>
6201 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
6202 argument case separately.
6203 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
6205 2000-12-27 Andreas Jaeger <aj@suse.de>
6207 * include/sys/wait.h: Add some prototypes.
6208 * Rules (dummy.c): Create also prototype to shut up GCC.
6210 2000-12-27 Andreas Jaeger <aj@suse.de>
6212 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
6213 it's not needed at the moment.
6214 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
6215 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
6217 2000-12-26 Andreas Jaeger <aj@suse.de>
6219 * libio/getc_u.c: Include stdio.h via system path to get internal
6221 * libio/getwc_u.c: Likewise.
6223 * stdlib/strfmon.c: Fix prototype of __printf_fp.
6225 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
6226 __printf_fp prototypes to ...
6227 * include/printf.h: ...here.
6229 * include/stdio.h: Add some internal prototypes to shut up GCC.
6230 * include/stdlib.h: Likewise.
6232 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
6235 * include/signal.h: Add prototypes for internal sigpause
6238 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6240 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
6241 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
6243 * string/Makefile (tests): Add tst-bswap.
6244 * string/tst-bswap.c: New file.
6246 2000-12-11 Bruno Haible <haible@clisp.cons.org>
6248 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
6250 2000-12-26 Ulrich Drepper <drepper@redhat.com>
6252 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
6253 Patch by Ed Connell <Ed.Connell@sas.com>.
6255 2000-12-24 Ulrich Drepper <drepper@redhat.com>
6257 * locale/iso-639.def: Correct one entry. Add two missing entries.
6259 * locale/iso-4217.def: Change entry for Eritrea.
6260 Reported by Daniel Yacob <yacob@geez.org>.
6262 2000-12-23 Ben Collins <bcollins@debian.org>
6264 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
6267 * manual/stdio.texi (Dynamic Output): Document the return value of
6268 asprintf. Also make the asprintf/snprintf examples a little
6269 better (check for some error returns).
6271 2000-12-22 Andreas Jaeger <aj@suse.de>
6273 * include/stdio.h: Add __ftrylockfile prototype.
6275 2000-12-21 H.J. Lu <hjl@gnu.org>
6277 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
6278 Make sign_exponent element signed.
6280 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
6283 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
6285 2000-12-21 Andreas Jaeger <aj@suse.de>
6287 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
6288 * inet/ether_hton.c: Likewise
6289 * inet/ether_ntoh.c: Likewise.
6291 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
6292 declaration to match prototype.
6294 * include/netinet/ether.h (struct etherent): Declare here so that
6295 all implementations use the same struct.
6297 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
6299 (struct ether): Removed.
6300 Use struct etherent instead of ether everywhere.
6302 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
6304 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
6306 * sunrpc/publickey.c: Include auth_des.h for prototypes.
6308 2000-12-20 Ulrich Drepper <drepper@redhat.com>
6310 * math/test-misc.c: Add more tests for nextafter functions.
6312 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
6313 normal correctly. Correct test for sign.
6314 Based on a patch by HJ Lu.
6316 2000-12-19 Ulrich Drepper <drepper@redhat.com>
6318 * Makeconfig (preprocess-version): Add -traditional to gcc call.
6321 2000-12-19 Andreas Jaeger <aj@suse.de>
6323 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
6325 * nis/nis_intern.h: Add prototype for __do_niscall3.
6327 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
6330 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
6332 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6334 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
6336 2000-12-18 Ulrich Drepper <drepper@redhat.com>
6338 * math/test-misc.c: Add more tests for nextafter.
6339 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
6340 * sysdeps/ieee754/ldbl-96/math_ldbl.h
6341 (ieee_long_double_shape_type): Make sign_exponent element signed.
6343 * manual/message.texi: Add Estonian to plural overview list.
6344 Correct rule for Slavic languages.
6345 Patch by Stanislav Brabec <utx@penguin.cz>.
6347 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
6349 2000-12-18 Andreas Jaeger <aj@suse.de>
6351 * test-skeleton.c: Use temp_name_list instead of name_list to
6352 avoid collision with name_list from inet/netgroup.h.
6354 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
6356 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
6357 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
6358 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
6359 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
6361 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
6362 declaration to match prototype.
6363 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
6364 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
6365 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
6367 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
6368 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
6369 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
6370 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
6371 (_nss_nis_getservbyport_r): Likewise.
6372 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
6373 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
6374 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
6375 (_nss_nis_setnetent): Likewise
6376 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6377 (_nss_nis_endnetgrent): Likewise.
6378 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
6380 (_nss_nisplus_setnetgrent): Likewise.
6381 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
6382 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
6383 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
6384 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
6386 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
6388 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
6390 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
6392 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
6393 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
6394 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
6395 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6396 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
6397 (_nss_dns_getnetbyaddr_r): Likewise.
6399 2000-12-17 Andreas Jaeger <aj@suse.de>
6401 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
6404 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
6405 unused attribute to shut up gcc warnings.
6407 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
6408 * sysdeps/generic/k_tanl.c: Likewise.
6409 * sysdeps/generic/k_cosl.c: Likewise.
6410 * sysdeps/generic/e_j0l.c: Likewise.
6411 * sysdeps/generic/e_j1l.c: Likewise.
6412 * sysdeps/generic/e_jnl.c: Likewise.
6413 * sysdeps/generic/e_lgammal_r.c: Likewise.
6415 * elf/vismain.c: Move prototypes for functions in vismod*.c to
6417 * elf/vismod.h: New file.
6418 * elf/Makefile (distribute): Add vismod.h.
6419 * elf/vismod1.c: Include vismod.h.
6420 * elf/vismod2.c: Likewise.
6421 * elf/vismod3.c: Likewise.
6423 * elf/constload3.c: Add prototype declarations to shut up gcc.
6424 * elf/failobj.c: Likewise.
6425 * elf/nodelmod3.c: Likewise.
6426 * elf/filtmod1.c: Likewise.
6427 * elf/filtmod2.c: Likewise.
6428 * elf/reldepmod1.c: Likewise.
6429 * elf/reldepmod2.c: Likewise.
6430 * elf/reldepmod3.c: Likewise.
6431 * elf/reldepmod4.c: Likewise.
6432 * elf/unload2dep.c: Likewise.
6433 * elf/unload2mod.c: Likewise.
6434 * elf/ltglobmod1.c: Likewise.
6435 * elf/pathoptobj.c: Likewise.
6436 * elf/neededobj1.c: Likewise.
6437 * elf/neededobj2.c: Likewise.
6438 * elf/neededobj3.c: Likewise.
6439 * elf/neededobj4.c: Likewise.
6440 * elf/nextmod1.c: Likewise.
6441 * elf/nextmod2.c: Likewise.
6443 * locale/programs/ld-collate.c (collate_finish): Don't use labels
6444 at end of compound statement.
6445 * locale/programs/locale.c (show_info): Likewise.
6446 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
6448 2000-12-16 Jakub Jelinek <jakub@redhat.com>
6450 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
6451 with a pointer not returned by obstack_ functions.
6453 2000-12-16 Ulrich Drepper <drepper@redhat.com>
6455 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
6457 (struct stat64): Likewise.
6458 Reported by Michael Keezer <mkeezer@redhat.com>.
6460 * timezone/asia: Update from tzdata2000h.
6461 * timezone/australasia: Likewise.
6462 * timezone/backward: Likewise.
6463 * timezone/europe: Likewise.
6464 * timezone/northamerica: Likewise.
6465 * timezone/southamerica: Likewise.
6466 * timezone/zone.tab: Likewise.
6468 2000-12-14 Jakub Jelinek <jakub@redhat.com>
6470 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
6471 and dir.stream is NULL, only free dir.content.
6472 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6473 * io/ftwtest-sh: Test with --early-exit.
6475 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6477 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6478 (FCVT_BUFPTR): New variable.
6479 (fcvt): If fcvt_r returns -1 on the static short buffer,
6480 try to malloc a sufficiently large one and retry.
6481 (free_mem): New function.
6482 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6483 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6485 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6487 * misc/dirname.c (dirname): Fix search for second to last slash.
6489 2000-12-13 Andreas Jaeger <aj@suse.de>
6491 * misc/tst-dirname.c (main): Fix typo in test to really use
6492 the examples from Unix98.
6493 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6495 2000-12-09 H.J. Lu <hjl@gnu.org>
6497 * sysdeps/ia64/fpu/s_fabs.S: New file.
6498 * sysdeps/ia64/fpu/s_fabsf.S: New file.
6499 * sysdeps/ia64/fpu/s_fabsl.S: New file.
6501 2000-12-15 Andreas Jaeger <aj@suse.de>
6503 * stdio-common/scanf9.c (main): Reformat and change to avoid
6506 * stdio-common/tstdiomisc.c: Make local functions static.
6507 * stdio-common/tst-printf.c: Likewise.
6509 * elf/constload2.c: Add prototype declarations to shut up gcc.
6510 * elf/dep1.c: Likewise.
6511 * elf/dep2.c: Likewise.
6512 * elf/dep3.c: Likewise.
6513 * elf/dep4.c: Likewise.
6514 * elf/ltglobmod2.c: Likewise.
6516 * libio/fmemopen.c: Make local functions static.
6518 * elf/Makefile (distribute): Added testobj.h.
6520 * elf/testobj.h: New file.
6522 * elf/testobj1.c: Include testobj.h and move prototype
6523 declarations to testobj.h.
6524 * elf/testobj2.c: Likewise.
6525 * elf/testobj3.c: Likewise.
6526 * elf/testobj4.c: Likewise.
6527 * elf/testobj5.c: Likewise.
6528 * elf/testobj6.c: Likewise.
6529 * elf/testobj1_1.c: Likewise.
6530 * elf/preloadtest.c: Likewise.
6532 2000-12-15 Ben Collins <bcollins@debian.org>
6534 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6535 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6537 2000-12-14 H.J. Lu <hjl@gnu.org>
6539 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6540 field in a float is 8 bits, not 11 bits.
6542 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6544 * math/test-misc.c (main): Adjust m for IEEE quad long double.
6546 2000-12-13 Andreas Jaeger <aj@suse.de>
6548 * manual/message.texi (Using gettextized software): Fix typo.
6550 * manual/charset.texi (Converting a Character): Fix mbstouwcs
6552 Patch by Martin Buchholz <martin@xemacs.org>.
6554 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6555 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6557 2000-12-11 Andreas Jaeger <aj@suse.de>
6559 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6560 kernel_sigset_t and use it.
6561 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6563 2000-12-10 Richard Henderson <rth@redhat.com>
6565 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6566 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6567 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6569 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6571 * sysdeps/alpha/htonl.S: Fix a typo.
6573 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6575 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6577 2000-12-10 Andreas Jaeger <aj@suse.de>
6579 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6580 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6581 Drepper <drepper@redhat.com>.
6583 2000-12-09 Andreas Jaeger <aj@suse.de>
6585 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6587 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6589 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6591 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6594 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6597 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6598 * nscd/connections.c (handle_request): Likewise.
6599 * nscd/pwdcache.c (addpwbyname): Likewise.
6600 * nscd/grpcache.c (addgrbyname): Likewise.
6602 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6604 2000-12-09 Ulrich Drepper <drepper@redhat.com>
6606 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6608 * Makeconfig (default_cflags): Make -O2 the default for stable
6611 2000-12-08 H.J. Lu <hjl@gnu.org>
6613 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6614 * sysdeps/ia64/fpu/s_isinf.S: This.
6615 Add a .pred.rel.mutex note to avoid false report.
6617 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6618 * sysdeps/ia64/fpu/s_isnan.S: This.
6620 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6621 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6622 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6623 * sysdeps/ia64/fpu/s_isinff.S: New file.
6624 * sysdeps/ia64/fpu/s_isinfl.S: New file.
6625 * sysdeps/ia64/fpu/s_isnanf.S: New file.
6626 * sysdeps/ia64/fpu/s_isnanl.S: New file.
6627 * sysdeps/ia64/fpu/s_finite.S: New file.
6628 * sysdeps/ia64/fpu/s_finitef.S: New file.
6629 * sysdeps/ia64/fpu/s_finitel.S: New file.
6630 * sysdeps/ia64/fpu/s_signbit.S: New file.
6631 * sysdeps/ia64/fpu/s_signbitf.S: New file.
6632 * sysdeps/ia64/fpu/s_signbitl.S: New file.
6633 * sysdeps/ia64/fpu/s_copysign.S: New file.
6634 * sysdeps/ia64/fpu/s_copysignf.S: New file.
6635 * sysdeps/ia64/fpu/s_copysignl.S: New file.
6637 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6639 * math/libm-test.inc (main): Fix typos in messages.
6641 * string/stratcliff.c: Add test for rawmemchr.
6643 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6645 * elf/dl-open.c (_dl_open): If objname points right after errstring,
6646 allocate it together with errstring using alloca.
6647 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6648 to "", because it might point to local stack.
6650 2000-12-05 H.J. Lu <hjl@gnu.org>
6652 * nss/Makefile (routines): Add getnssent and getnssent_r.
6653 * nss/nsswitch.h (__nss_setent): New internal NSS function.
6654 (__nss_endent): Likewise.
6655 (__nss_getent_r): Likewise.
6656 (__nss_getent): Likewise.
6657 * nss/getnssent_r.c: New file.
6658 * nss/getnssent.c: New file.
6659 * nss/getXXent.c (H_ERRNO_VAR): Updated.
6660 (GETFUNC_NAME): Updated to call __nss_getent ().
6661 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6662 (STAYOPEN_TMPVAR): Updated.
6663 (STAYOPEN_VAR): Updated.
6664 (SETFUNC_NAME): Updated to call __nss_setent ().
6665 (ENDFUNC_NAME): Updated to call __nss_endent ().
6666 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6668 2000-12-08 Andreas Jaeger <aj@suse.de>
6670 * nscd/dbg_log.h (dbg_log): Correct attribute.
6672 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6674 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6675 cp + len. Compute where from dirname.
6676 Reported by <jreiser@BitWagon.com>.
6678 2000-12-08 Richard Henderson <rth@twiddle.net>
6680 * sysdeps/alpha/_mcount.S: Fix typo.
6681 * sysdeps/alpha/strncpy.S: Likewise.
6683 * sysdeps/alpha/alphaev6/Implies: New file.
6684 * sysdeps/alpha/alphaev67/Implies: New file.
6685 * sysdeps/alpha/alphaev67/ffs.S: New file.
6686 * sysdeps/alpha/alphaev67/ffsll.S: New file.
6687 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6688 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6689 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6690 * sysdeps/alpha/rawmemchr.S: New file.
6691 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6692 * sysdeps/alpha/strcpy.S: Likewise.
6695 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6697 From rick.gorton@alpha-processor.com:
6698 * sysdeps/alpha/alphaev6/memchr.S: New file.
6699 * sysdeps/alpha/alphaev6/memcpy.S: New file.
6700 * sysdeps/alpha/alphaev6/memset.S: New file.
6701 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6702 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6703 * sysdeps/alpha/alphaev67/strcat.S: New file.
6704 * sysdeps/alpha/alphaev67/strchr.S: New file.
6705 * sysdeps/alpha/alphaev67/strlen.S: New file.
6706 * sysdeps/alpha/alphaev67/strncat.S: New file.
6707 * sysdeps/alpha/htonl.S: Use a shorter sequence.
6709 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6711 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6712 Reported by <pspencer@fields.utoronto.ca>.
6714 2000-12-07 Jes Sorensen <jes@linuxcare.com>
6716 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6717 Pointed out by Hans Boehm.
6719 2000-12-07 H.J. Lu <hjl@gnu.org>
6721 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6723 2000-12-07 Andreas Jaeger <aj@suse.de>
6725 * misc/error.c: Add format attributes for __error and __error_at_line.
6727 * nscd/dbg_log.h: Add format attribute.
6729 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6731 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6732 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6734 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
6736 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6738 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6740 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6741 (sysdep_routines): Add uitrunc.
6742 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6743 Patches by Michael Keezer <mkeezer@redhat.com>.
6745 2000-12-06 Roland McGrath <roland@frob.com>
6747 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6748 argument data, since it will be used to copy out too (for INOUT).
6749 Reported by Marcus Brinkmann <marcus@gnu.org>.
6751 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6752 (__ioctl): Use uintptr_t instead of unsigned long int.
6754 2000-12-06 Jim Wilson <wilson@redhat.com>
6756 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6758 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6760 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6761 x.5 rounding correctly.
6763 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6765 * stdio-common/perror.c (perror): Conditionalize code dealing with
6766 wide-oriented streams on USE_IN_LIBIO.
6768 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6770 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6771 as internal_function.
6773 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6775 * sysdeps/alpha/elf/start.S (__data_start): Define.
6777 2000-12-05 H.J. Lu <hjl@gnu.org>
6779 * nss/getXXent_r.c (setup): Change the return type to int.
6781 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6783 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6784 (sysdep_routines): Add restf and savef.
6785 * sysdeps/unix/sysv/aix/restf.c: New file.
6786 * sysdeps/unix/sysv/aix/savef.c: New file.
6787 Patches by Michael Keezer <mkeezer@redhat.com>.
6789 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6790 if O_DIRECTORY is not defined.
6791 Patch by Michael Keezer <mkeezer@redhat.com>.
6793 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6794 Patch by Michael Keezer <mkeezer@redhat.com>.
6796 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6797 than 4 bytes in escape sequence.
6798 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6800 2000-12-05 Andreas Jaeger <aj@suse.de>
6802 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6805 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6807 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6809 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6810 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6812 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6814 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6815 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6817 * sysdeps/generic/dl-cache.c: Remove declaration of
6818 _dl_sysdep_read_whole_file.
6820 * elf/dl-load.c (_dl_map_object): Remove declaration of
6821 _dl_load_cache_lookup.
6823 * sysdeps/generic/ldsodefs.h: Add declarations of
6824 _dl_load_cache_lookup, _dl_unload_cache,
6825 _dl_sysdep_read_whole_file, _dl_sysdep_start and
6826 _dl_sysdep_start_cleanup.
6828 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6831 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6832 * sysdeps/generic/dl-environ.c: Likewise.
6834 * stdio-common/printf_fp.c: Include <gmp.h> instead of
6836 * math/atest-exp.c: Likewise.
6837 * math/atest-exp2.c: Likewise.
6838 * math/atest-sincos.c: Likewise.
6839 * stdio-common/_itoa.c: Likewise.
6840 * stdio-common/_itowa.c: Likewise.
6842 * include/gmp.h: New file with internal prototypes.
6844 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6846 * include/setjmp.h: ...here.
6848 * locale/Makefile (routines): Remove codeset_name since it's not
6851 * locale/codeset_name.c: Removed.
6853 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6855 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6857 2000-12-05 Andreas Jaeger <aj@suse.de>
6859 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6861 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
6863 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6866 2000-12-05 Andreas Jaeger <aj@suse.de>
6868 * nss/test-netdb.c: Mark local functions as static to avoid
6870 (main): Use return to silence warning.
6872 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6874 * stdio-common/test-popen.c: Mark local functions as static to
6876 (main): Use return to silence warning.
6878 * stdlib/testsort.c (compare): Mark as static to avoid warning.
6880 * assert/test-assert.c: Mark local functions as static to avoid
6882 * assert/test-assert-perr.c: Likewise.
6884 * math/libm-test.inc (main): Use return to silence warnings.
6886 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6888 * math/fenv.h: Fix typo in comment.
6890 * math/test-misc.c (main): Add a few more over and underflow tests
6893 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6896 * math/w_scalb.c: Don't use matherr except in SVID mode.
6897 * math/w_scalbf.c: Likewise.
6898 * math/w_scalbl.c: Likewise.
6899 * math/test-misc.c: Add test for NaN and scalbl.
6900 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6902 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6904 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6905 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6906 * include/libc-symbols.h (strong_alias): Define special version
6907 for HAVE_ASM_GLOBAL_DOT_NAME.
6908 (weak_alias): Likewise.
6909 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6910 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6911 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6912 getutxline, pututxline, and utmpxname.
6913 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6914 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6915 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6916 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6917 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6918 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6919 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6920 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
6921 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6922 Patches by Michael Keezer <mkeezer@redhat.com>.
6924 2000-12-04 H.J. Lu <hjl@gnu.org>
6926 * configure.in: Change --with-oldest-abi=ABI to
6927 --enable-oldest-abi=ABI.
6929 2000-12-02 Bruno Haible <haible@clisp.cons.org>
6931 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6932 fwprintf instead of fprintf.
6934 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6936 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6937 DECIMAL_DIG definitions.
6938 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6939 * sysdeps/generic/bits/mathdef.h: Likewise
6940 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6941 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6942 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6943 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6944 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6945 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6947 2000-12-03 Ulrich Drepper <drepper@redhat.com>
6949 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6951 * math/atest-exp.c: Mark local functions as static to avoid warnings.
6952 * math/atest-exp2.c: Likewise.
6953 * math/atest-sincos.c: Likewise.
6955 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6956 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6958 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6959 the handling of denormalized numbers.
6961 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6963 * sysdeps/i386/fpu/fpclassifyl.c: New file.
6965 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6966 pseudo denormal representation of LDBL_MIN.
6968 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6969 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6971 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6972 * iconvdata/jis0208.c: Likewise.
6973 * iconvdata/jis0212.c: Likewise.
6974 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6976 * math/test-misc.c (main): More tests for frexp and some for
6977 fpclassify and isnormal.
6979 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6981 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6983 * math/test-misc.c (main): Add tests for frexp.
6984 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6985 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6987 2000-12-02 H.J. Lu <hjl@gnu.org>
6989 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6992 2000-12-02 Ulrich Drepper <drepper@redhat.com>
6994 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6995 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6996 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6998 * sysdeps/generic/glob.c: Adjust types of several variables to
7001 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7003 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
7005 2000-11-30 Roland McGrath <roland@frob.com>
7007 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
7008 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
7009 allow multiple instances using the same function name in one file.
7011 2000-12-01 Ulrich Drepper <drepper@redhat.com>
7013 * configure.in: Correct test for pserver CVS access.
7015 2000-11-28 H.J. Lu <hjl@gnu.org>
7017 * libio/libio.h: Remove extra "#if ... #endif".
7019 2000-11-29 H.J. Lu <hjl@gnu.org>
7021 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
7023 2000-12-01 H.J. Lu <hjl@gnu.org>
7025 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
7026 * nss/getXXent_r.c: Likewise.
7027 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7029 2000-11-30 H.J. Lu <hjl@gnu.org>
7031 * scripts/abi-versions.awk (oldest_abi): New variable.
7032 Handle the oldest ABI supported.
7034 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
7035 for scripts/abi-versions.awk.
7037 * configure.in: Add --with-oldest-abi=ABI.
7038 * configure: Rebuild.
7040 * config.make.in (oldest-abi): New.
7042 * config.h.in (GLIBC_OLDEST_ABI): New.
7044 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
7046 2000-11-30 Jakub Jelinek <jakub@redhat.com>
7048 * locale/setlocale.c (setname): Free for all categories, not just
7050 (setlocale): Store a copy of string passed by user, not the string
7053 2000-11-30 Roland McGrath <roland@frob.com>
7055 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
7056 rather than _hurd_fd_subinit, so it happens after it's safe to use
7057 libc facilities like malloc.
7059 2000-11-28 Andreas Jaeger <aj@suse.de>
7061 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
7062 declaration, adjust declaration of __syscall_getdents to match
7065 2000-11-29 H.J. Lu <hjl@gnu.org>
7067 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
7069 2000-11-29 Andreas Jaeger <aj@suse.de>
7071 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
7073 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7075 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
7076 * dlfcn/defaultmod2.c: Likewise.
7077 * dlfcn/dlopen.c: Likewise.
7078 * dlfcn/dlopenold.c: Likewise.
7079 * dlfcn/failtestmod.c: Likewise.
7080 * dlfcn/glreflib1.c: Likewise.
7081 * dlfcn/glreflib2.c: Likewise.
7082 * dlfcn/eval.c: Likewise. Add attributes.
7084 * ctype/ctype-extn.c: Define isblank and not __isblank.
7086 * time/strftime.c: Add const where necessary to avoid warnings.
7087 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
7089 2000-11-22 Paul Eggert <eggert@twinsun.com>
7091 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
7092 size of (size_t) -1; it's not portable.
7094 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7096 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
7098 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7100 2000-11-14 Jes Sorensen <jes@linuxcare.com>
7102 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
7104 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
7105 _mcount is required by profiled binaries.
7107 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
7108 * sysdeps/ia64/machine-gmon.h: ...here.
7110 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
7112 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
7113 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
7115 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
7117 * iconvdata/ibm922.c: New file.
7118 * iconvdata/ibm922.h: New file.
7119 * iconvdata/ibm1124.c: New file.
7120 * iconvdata/ibm1124.h: New file.
7121 * iconvdata/ibm1129.c: New file.
7122 * iconvdata/ibm1129.h: New file.
7123 * iconvdata/testdata/IBM922: New file.
7124 * iconvdata/testdata/IBM922..UTF8: New file.
7125 * iconvdata/testdata/IBM1124: New file.
7126 * iconvdata/testdata/IBM1124..UTF8: New file.
7127 * iconvdata/testdata/IBM1129: New file.
7128 * iconvdata/testdata/IBM1129..UTF8: New file.
7130 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7132 * catgets/gencat.c (normalize_line): Take extra parameter with escape
7133 character. Change callers.
7134 (open_conversion): Determine mapping of 0x5c as wchar_t value.
7135 * catgets/Makefile: Add rules to build and run test-gencat.
7136 * catgets/sample.SJIS: New file.
7137 * catgets/test-gencat.c: New file.
7138 * catgets/test-gencat.sh: New file.
7139 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7141 2000-11-28 Andreas Jaeger <aj@suse.de>
7143 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
7146 2000-11-28 Ulrich Drepper <drepper@redhat.com>
7148 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
7150 2000-11-28 Andreas Jaeger <aj@suse.de>
7152 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
7154 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
7157 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7159 * misc/getusershell.c: Make strings in okshells array const.
7160 * misc/regexp.c: Add const to cast to avoid warnings.
7161 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
7162 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
7164 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
7166 * misc/error.c: Add prototypes for __error and __error_at_line.
7167 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
7168 statement to avoid warning.
7169 * test-skeleton.c: Mark timeout_handler with noreturn.
7170 * iconv/skeleton.c (get16u): Add const to cast.
7172 * iconvdata/gb18030.c: Likewise.
7173 * iconvdata/iso-2022-cn-ext.c: Likewise.
7174 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
7175 * iconvdata/big5.c: Likewise.
7176 * iconvdata/big5hkscs.c: Likewise.
7177 * iconvdata/iso_6937.c: Likewise.
7178 * iconvdata/iso_6937-2.c: Likewise.
7179 * iconvdata/t.61.c: Likewise.
7180 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
7181 * iconvdata/unicode.c: Likewise.
7182 * iconvdata/utf-16.c: Likewise.
7183 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
7184 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
7185 with little code shuffling.
7187 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
7188 the problems introduced when the user selects -O3.
7190 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
7191 * misc/sys/cdefs.h: Define __flexarr.
7192 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
7194 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
7195 * iconv/skeleton.c: Likewise.
7196 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
7197 * iconv/loop.c (get16): Add const to cast.
7200 2000-11-27 Andreas Jaeger <aj@suse.de>
7202 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
7204 * login/programs/utmpdump.c (print_entry): Likewise.
7206 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7208 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
7209 in a single asm as they may be used to access other stored
7211 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7213 2000-11-27 Andreas Jaeger <aj@suse.de>
7215 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
7216 * rt/tst-aio64.c: Likewise.
7218 2000-11-27 Ulrich Drepper <drepper@redhat.com>
7220 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
7222 (libc.cat): Likewise.
7223 * catgets/gencat.c: Implement handling of message catalogs encoded
7224 with stateful character sets.
7225 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7227 2000-11-26 Ulrich Drepper <drepper@redhat.com>
7229 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
7231 * inet/getnameinfo.c: Adjust casts to avoid warnings.
7232 * inet/rcmd.c: Likewise.
7233 * inet/ruserpass.c: Likewise.
7234 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
7235 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7236 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
7237 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
7238 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
7239 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
7240 * include/aliases.h: Add prototypes for internal __getalias* functions.
7241 * include/netdb.h: Add prototypes for __old_gethostent_r,
7242 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
7243 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
7244 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
7245 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
7246 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
7247 __old_getrpcbynumber_r, __old_getrpcent_r.
7249 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
7250 __getrpcent_r prototypes.
7252 2000-11-25 Ulrich Drepper <drepper@redhat.com>
7254 * string/strcoll.c: Add casts to avoid warnings.
7255 * string/strnlen.c: Likewise.
7256 * string/strxfrm.c: Likewise.
7257 * sysdeps/generic/_strerror.c: Likewise.
7258 * sysdeps/generic/memrchr.c: Likewise.
7259 * sysdeps/generic/strcasestr.c: Likewise.
7260 * sysdeps/generic/strstr.c: Likewise.
7262 * locale/weight.h (findidx): Add const to cast to avoid warning.
7264 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
7265 * elf/loadtest.c: Likewise.
7266 * elf/multiload.c: Likewise.
7267 * elf/next.c: Likewise.
7268 * elf/nodelete.c: Likewise.
7269 * elf/noload.c: Likewise.
7270 * elf/order.c: Likewise.
7271 * elf/origtest.c: Likewise.
7272 * elf/preloadtest.c: Likewise.
7273 * elf/restest1.c: Likewise.
7275 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
7276 parameter of asm must be in %ecx.
7278 * string/tester.c: Mark test functions as static to avoid warnings.
7280 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
7281 preserve value over different gconv-modules files.
7283 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7285 * locale/findlocale.c: Add casts to avoid warnings.
7286 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
7287 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
7289 * misc/tsearch.c (const_node): New type.
7290 (trecurse): Correct casts to avoid warnings.
7291 (__twalk): Likewise.
7292 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
7295 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
7297 * test-skeleton.c: Mark local functions as static to avoid warnings.
7299 2000-11-23 H.J. Lu <hjl@gnu.org>
7301 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
7302 support the background job.
7305 2000-11-24 Ulrich Drepper <drepper@redhat.com>
7307 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
7308 has same names but lower cost.
7310 2000-11-23 Jakub Jelinek <jakub@redhat.com>
7312 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
7313 which never occur during bootstrap.
7314 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7316 2000-11-23 Andreas Jaeger <aj@suse.de>
7318 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
7320 * nss/Versions: Remove _nss_files_getipnodebyname_r.
7322 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
7324 2000-11-18 Martin Buchholz <martin@xemacs.org>
7326 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
7329 2000-11-21 Alan Modra <alan@linuxcare.com.au>
7331 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
7333 * csu/abi-note.S: Correct comment for operating system number.
7335 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7337 * Versions.def: Add GLIBC_2.2.1 for glibc.
7339 2000-11-22 Andreas Schwab <schwab@suse.de>
7341 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
7342 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
7344 2000-11-22 Ulrich Drepper <drepper@redhat.com>
7346 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
7347 absolute time for pthread_cond_timedwait call.
7348 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
7350 * rt/Makefile (tests): Add tst-aio6.
7351 * rt/tst-aio6.c: New file.
7353 2000-11-23 Andreas Jaeger <aj@suse.de>
7355 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
7357 2000-11-22 Andreas Jaeger <aj@suse.de>
7359 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
7361 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
7363 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
7365 2000-11-21 Andreas Schwab <schwab@suse.de>
7367 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
7368 * sysdeps/arm/setjmp.S: Likewise.
7369 * sysdeps/arm/fpu/setjmp.S: Likewise.
7370 * sysdeps/i386/setjmp.S: Likewise.
7371 * sysdeps/i386/elf/setjmp.S: Likewise.
7372 * sysdeps/s390/setjmp.S: Likewise.
7373 * sysdeps/s390/elf/setjmp.S: Likewise.
7374 * sysdeps/sh/sh3/setjmp.S: Likewise.
7375 * sysdeps/sh/sh4/setjmp.S: Likewise.
7376 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7377 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7378 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
7379 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
7381 2000-11-21 Andreas Jaeger <aj@suse.de>
7383 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
7384 NORETURN, fix parameter list.
7386 * string/bug-strncat1.c (main): Fix typo.
7387 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
7389 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7391 * configure.in: Add --enable-all-warnings.
7392 * config.make.in (all-warnings): New variable.
7393 * Makeconfig (+gccwarn): Define with many more warnings if
7394 all-warnings is yes.
7396 2000-11-20 Jakub Jelinek <jakub@redhat.com>
7398 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
7399 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
7400 * malloc/tst-valloc.c (main): Cast valloc return value to long.
7401 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
7402 * math/test-fpucw.c (main): Use %lx in format string, cast
7403 control words to long.
7404 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
7405 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
7406 large that it is unsigned warning.
7408 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
7409 it to long on sparc64.
7411 2000-11-20 Andreas Jaeger <aj@suse.de>
7413 * nscd/nscd.h (termination_handler): Add noreturn attribute.
7414 (receiv_print_stats): Likewise.
7416 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
7418 2000-11-20 Ulrich Drepper <drepper@redhat.com>
7420 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
7422 * csu/gmon-start.c: Always have prototype for __gmon_start.
7423 * csu/version.c: Add prototypes for __libc_print_version and
7425 * iconv/gconv.c: Include gconv_int.h and gconv.h.
7426 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
7428 * iconv/gconv_builtin.h: Add ASCII module definitions.
7429 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
7430 (add_module): Add cast to avoid warning. Rework construction of
7431 strings for new module.
7432 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
7433 (derivation_compare): Likewise.
7434 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
7435 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
7436 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
7437 (struct gconv_alias): Remove const from fromname and toname.
7438 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
7440 (internal_ucs4_loop): Use correct const-ness.
7441 (ucs4_internal_loop): Likewise.
7442 (internal_ucs4le_loop): Likewise.
7443 (ucs4le_internal_loop_single): Likewise.
7444 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
7445 to_idx, to_tbl, winbuf, winbufend const. Change casts in
7446 assignments appropriately.
7447 (struct known_trans): Remove const from fname.
7448 (trans_compare): Make s1 and s2 const.
7449 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
7451 * iconv/skeleton.c: Remove cast in calls of loop functions.
7452 * iconvdata/gconv-modules: Remove US-ASCII definitions.
7453 * iconvdata/iso646.c: Remove US_ASCII support.
7454 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
7455 * include/unistd.h: Add __libc_check_standard_fds prototype.
7456 * string/bits/string2.h (__mempcpy_args): Add const to casts.
7457 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
7459 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
7460 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
7461 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
7463 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
7464 __libc_init_first and _dl_start.
7465 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
7466 (DCIGETTEXT): Make domaindata variable const.
7467 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
7470 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7472 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7474 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7475 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7478 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7479 value defined in /usr/include/asm-mips/fcntl.h.
7481 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7483 * stdio-common/Makefile (tests): Add test-vfprintf.
7484 (test-vfprintf-ENV): New variable.
7485 * stdio-common/test-vfprintf.c: New file.
7487 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7489 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7490 (tst-mbrtowc-ENV): New variable.
7491 (tst-wcrtomb-ENV): New variable.
7492 * wcsmbs/tst-mbrtowc.c: New file.
7493 * wcsmbs/tst-wcrtomb.c: New file.
7495 2000-11-16 Andreas Jaeger <aj@suse.de>
7497 * manual/install.texi (Tools for Compilation): Update
7498 documentation for GCC 2.95.2.
7500 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7503 if IPv4 and IPv6 requests timed out.
7505 2000-11-18 Akim Demaille <akim@epita.fr>
7507 * malloc/obstack.h: Formatting changes.
7508 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7509 prevents type checking.
7510 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7511 cast the value to (void *): assigning a `foo *' to a `void *'
7513 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7515 2000-11-17 Ulrich Drepper <drepper@redhat.com>
7517 * scripts/config.guess: Update from upstream maintainer.
7518 * scripts/config.sub: Likewise.
7520 2000-11-16 Ulrich Drepper <drepper@redhat.com>
7522 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7523 * libio/freopen64.c (freopen64): Likewise.
7524 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7526 * libio/Makefile: Add rules to build and run test-freopen.
7527 * libio/test-freopen.c: New file.
7528 * libio/test-freopen.sh: New file.
7530 2000-11-15 H.J. Lu <hjl@gnu.org>
7532 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7533 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7534 (DL_DT_FINI_ADDRESS): Likewise.
7536 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7537 return type to ElfW(Addr).
7538 (_dl_function_address): New prototype.
7539 (DL_FUNCTION_ADDRESS): Defined.
7540 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7541 (DL_DT_FINI_ADDRESS): Likewise.
7543 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7545 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7546 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7548 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7549 (_dl_function_address): This.
7551 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7552 function pointer for DT_FINI.
7553 * elf/dl-close.c (_dl_close): Likewise.
7555 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7556 function pointer for DT_INIT.
7558 2000-11-16 Jakub Jelinek <jakub@redhat.com>
7560 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7561 end of wexpbuf buffer.
7563 2000-11-16 Andreas Jaeger <aj@suse.de>
7565 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7566 definition of F_GETLK, F_SETLK, F_SETLKW.
7568 2000-11-16 Andreas Jaeger <aj@suse.de>
7570 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7573 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7575 * dlfcn/default.c (main): Add test for dladdr of main returning
7576 argv[0] in dli_fname field.
7578 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7580 * Makeconfig (run-program-prefix): Move test-static test into the
7583 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7584 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7585 schedule instructions.
7586 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7587 schedule instructions, fix a bug in copying auxiliary data.
7589 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7591 * manual/startup.texi (Program Arguments): Fix type of main's envp
7593 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7595 * iconvdata/gconv-modules: Add CP950 alias.
7597 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7599 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7600 syscall-list.h goal.
7601 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7603 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7605 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7607 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
7610 * intl/tst-gettext2.c: Set C locale if setting other locale
7611 failed. Use gettext() not _().
7613 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7614 successfully loaded a new locale.
7616 2000-11-13 Andreas Jaeger <aj@suse.de>
7618 * configure.in: Require gcc 2.95 or newer.
7620 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7622 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7623 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7625 2000-11-11 Jim Meyering <meyering@lucent.com>
7627 * string/strndup.c (strndup): Cast return value to `char *'.
7629 2000-11-15 Jim Meyering <meyering@ascend.com>
7631 * sysdeps/generic/memchr.c: Remove some useless parentheses.
7632 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7633 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7634 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7635 Also #undef __memchr.
7636 Use `weak_alias' only if it's defined.
7638 2000-11-10 H.J. Lu <hjl@gnu.org>
7640 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7642 2000-11-15 Andreas Jaeger <aj@suse.de>
7644 * elf/chroot_canon.c: Include <stdint.h>.
7646 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7647 (print_entry): Likewise.
7648 (add_to_cache): Likewise.
7650 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7652 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7653 (path_hwcap): Likewise.
7654 (search_dir): Likewise.
7656 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7658 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7660 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7661 (_dl_platform_string): New.
7662 (_DL_HWCAP_PLATFORM): New.
7663 (_dl_string_platform): New.
7664 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7666 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7667 (_dl_string_platform): New.
7668 (_DL_HWCAP_PLATFORM): New.
7669 (_dl_platform_string): New.
7671 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7673 (_DL_HWCAP_COUNT): New.
7674 (_dl_string_platform): New.
7675 (_DL_HWCAP_PLATFORM): New.
7676 (_dl_platform_string): New.
7678 2000-11-14 Ulrich Drepper <drepper@redhat.com>
7680 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7682 2000-11-14 Andreas Jaeger <aj@suse.de>
7684 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7686 2000-11-13 Roland McGrath <roland@frob.com>
7688 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7690 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
7692 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7693 underrun and make sure the result is null terminated even if there
7694 is no trailing newline.
7696 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7698 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7700 2000-11-10 H.J. Lu <hjl@gnu.org>
7702 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7704 2000-11-10 Andreas Jaeger <aj@suse.de>
7706 * elf/ldconfig.c (create_links): Fix alloca calculation.
7707 Patch by Ben Collins <bcollins@debian.org>.
7709 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7711 * inet/getnameinfo.c (getnameinfo): Use correct destination
7712 parameter for if_indextoname.
7713 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7715 2000-11-09 H.J. Lu <hjl@gnu.org>
7717 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7718 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7719 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7722 * time/Versions (GLIBC_2.1): Move getitimer to...
7723 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7725 2000-11-03 Bruno Haible <haible@clisp.cons.org>
7727 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7728 "make install", to work around a binary incompatibility between
7729 glibc 2.1 and glibc 2.2 gconv modules.
7731 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7733 * intl/locale.alias: Add thai.
7734 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7736 2000-11-07 Akim Demaille <akim@epita.fr>
7738 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7739 argument `data' for consistency with the prototypes.
7741 (obstack_copy, obstack_copy0): Rename the second argument as
7742 `address' for consistency. Qualify it `const'.
7743 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7744 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7745 `const' their input argument (`data' or `address').
7746 Adjust the corresponding macros to include `const' in casts.
7748 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7750 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7753 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7755 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7758 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7760 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7761 ai_protocol by internal table if service was not given.
7763 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7765 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7766 numerical port was specified with protocol without socktype.
7768 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7770 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7772 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7774 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7776 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7778 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7779 sin6_scope_id field.
7781 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7783 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7785 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7787 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7789 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7791 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7792 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7794 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
7796 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7797 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7799 2000-11-09 H.J. Lu <hjl@gnu.org>
7801 * io/Versions (GLIBC_2.1.1): Remove lockf64.
7804 See ChangeLog.11 for earlier changes.