1 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3 Remove incompatible IPv6 extension of RPC.
4 * sunrpc/Makefile: Undo changes.
5 * sunrpc/rpc_main.c: Likewise.
6 * sunrpc/rpc/clnt.h: Likewise.
7 * sunrpc/rpc/svc.h: Likewise.
8 * sunrpc/bindrsvprt6.c: Removed.
9 * sunrpc/clnt_tcp6.c: Removed.
10 * sunrpc/clnt_udp6.c: Removed.
11 * sunrpc/svc_tcp6.c: Removed.
12 * sunrpc/svc_udp6.c: Removed.
14 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
15 dgettext, and dcgettetxt.
17 * intl/locale.alias: Update japanese aliases.
19 * sysdeps/ia64/bits/byteswap.h: New file.
20 Patch by Dan Pop <Dan.Pop@cern.ch>.
22 * misc/sys/cdefs.h: Define __attribute_format_arg__.
23 * intl/libintl.h: Use it here instead of using __attribute__ directly.
25 2000-07-13 H.J. Lu <hjl@gnu.org>
27 * posix/regex.c (re_max_failures): Set to 4000.
29 2000-08-01 Ulrich Drepper <drepper@redhat.com>
31 * gnulib/Makefile (tests): Add tst-gcc.
32 * gnulib/tst-gcc.c: New file.
34 * assert/Makefile (routines): Add __assert.
35 * assert/Versions: Export __assert for glibc 2.2.
36 * assert/__assert.c: New file.
37 * assert/assert.h: Declare __assert.
39 2000-07-27 Bruno Haible <haible@clisp.cons.org>
41 * locale/localeinfo.h (_ISCTYPE): New macro.
42 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
43 LC_CTYPE locale format.
44 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
45 (ctype_output): Output class_b[nr] right before class_3level[nr].
46 (allocate_arrays): Fill class_b, similarly to class_3level.
48 2000-08-01 Ulrich Drepper <drepper@redhat.com>
49 Joseph S. Myers <jsm28@cam.ac.uk>
51 * math/tgmath.h: Make standard compliant. Don't ask how.
53 2000-07-04 H.J. Lu <hjl@gnu.org>
55 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
56 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
57 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
59 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
61 * include/features.h (_XOPEN_SOURCE): Update the explanation.
62 (__USE_LARGEFILE): Add an explanation.
63 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
64 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
66 2000-08-01 Ulrich Drepper <drepper@redhat.com>
68 * libio/Makefile: Enable exception handling for genops, wgenops,
69 fileops, and wfileops.
71 2000-07-29 Mark Kettenis <kettenis@gnu.org>
73 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
74 acount that elf/rtld's main program might remove some varibales
75 from the environment if we're trying to be secure. Move the Hurd
76 startup data if necessary, or, if we there is no startup data,
77 make sure the magical convention that ARGV[0] is stored just after
80 2000-08-01 Philip Blundell <philb@gnu.org>
82 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
83 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
84 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
85 oldsetrlimit for GLIBC_2.0.
87 2000-08-01 Andreas Jaeger <aj@suse.de>
89 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
90 (LINE_PARSER): Allow any number of spaces between ip address and
91 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
93 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
95 * include/netdb.h: Remove getipnodebyaddr and friends, leave
98 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
99 _nss_nisplus_getipnodebyname_r.
101 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
102 now, getipnodebyname is deprecated.
103 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
106 * inet/Makefile (routines): Don't build getipnodebyaddr and
109 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
111 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
113 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
115 * wctype/Makefile (distribute): Add wchar-lookup.h.
117 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
119 * iconvdata/Makefile (distribute): Add isiri-3342.h.
121 2000-08-01 Andreas Schwab <schwab@suse.de>
123 * Make-dist (dist): Resolve `..' in file names.
125 2000-08-01 Andreas Jaeger <aj@suse.de>
127 * stdio-common/Makefile (distribute): Remove removed files, add
130 * Makefile (distribute): Remove include/db_185.h and db.h.
132 * include/db_185.h: Remove, it's not needed anymore.
133 * include/db.h: Likewise.
135 2000-07-31 Ulrich Drepper <drepper@redhat.com>
137 * inet/Makefile (tests): Remove tst-ipnode.
138 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
141 2000-07-31 Jes Sorensen <jes@linuxcare.com>
143 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
144 endp statements have already been added.
146 2000-04-18 David Mosberger <davidm@hpl.hp.com>
148 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
149 <sysdeps/ia64/sysdep.h>.
151 * sysdeps/ia64/_mcount.S: New file.
153 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
154 __gmon_start__. Fix up extraneous whitespace.
156 2000-01-12 H.J. Lu <hjl@gnu.org>
158 * sysdeps/ia64/elf/initfini.c: New file.
160 2000-07-31 Jes Sorensen <jes@linuxcare.com>
162 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
163 dependency between branch and ar.pfs write.
165 2000-07-31 H.J. Lu <hjl@gnu.org>
167 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
168 handle the wchar_t array.
170 2000-07-31 Ulrich Drepper <drepper@redhat.com>
172 * iconvdata/gb18030.c: Don't map to and from positions in ISO
173 10646 which are not yet assigned.
174 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
176 2000-07-31 Andreas Jaeger <aj@suse.de>
178 * inet/Versions: Remove getipnodebyaddr and friends from
181 * resolv/netdb.h: Remove getipnodebyaddr and friends.
183 2000-07-30 Bruno Haible <haible@clisp.cons.org>
185 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
186 ch >= 0x81 && ch2 < 0x40 as invalid.
188 2000-07-30 Bruno Haible <haible@clisp.cons.org>
190 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
191 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
193 2000-07-30 Bruno Haible <haible@clisp.cons.org>
195 * iconvdata/johab.c (BODY for TO_LOOP): After calling
196 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
198 2000-07-30 Bruno Haible <haible@clisp.cons.org>
200 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
202 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
204 2000-07-30 Bruno Haible <haible@clisp.cons.org>
206 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
208 2000-07-30 Bruno Haible <haible@clisp.cons.org>
210 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
211 (from_ucs4): Change values of U+00A4 and U+00ED.
212 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
214 2000-07-30 Bruno Haible <haible@clisp.cons.org>
216 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
217 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
219 2000-07-30 Bruno Haible <haible@clisp.cons.org>
221 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
222 * iconvdata/isiri-3342.h: New file.
223 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
226 2000-07-30 Bruno Haible <haible@clisp.cons.org>
228 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
229 (utf8_encode): Use simple shifts instead. Fix return value.
231 2000-07-31 Ulrich Drepper <drepper@redhat.com>
233 * timezone/private.h: Update from tzcode2000e.
234 * timezone/asia: Update from tzdata2000e.
235 * timezone/australasia: Likewise.
236 * timezone/europe: Likewise.
237 * timezone/northamerica: Likewise.
238 * timezone/zone-tab: Likewise.
240 2000-07-30 Ralf Baechle <ralf@gnu.org>
242 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
243 the order of struct sigaltstack members is different.
245 2000-07-26 Philip Blundell <philb@gnu.org>
247 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
249 2000-07-29 Ulrich Drepper <drepper@redhat.com>
251 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
252 * locale/programs/ld-ctype.c: Adjust for this.
254 * locale/programs/ld-collate.c: Add more alignment checks.
255 * locale/string/strcoll.c: Likewise.
257 2000-07-30 Mark Kettenis <kettenis@gnu.org>
259 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
260 outside USE_IN_LIBIO block.
262 2000-07-26 Philip Blundell <philb@gnu.org>
264 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
265 (elf_machine_rel): Use it for out-of-range PC24 relocs.
267 2000-07-28 Philip Blundell <philb@gnu.org>
269 * math/test-fpucw.c: Ignore reserved bits in control word.
271 2000-07-28 Philip Blundell <philb@gnu.org>
273 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
274 (ret): Redefine to PSEUDO_RET.
275 (PSEUDO): Remove jump to syscall_error.
277 2000-07-29 Mark Kettenis <kettenis@gnu.org>
279 * resolv/README: Add some information about using the resolver in
280 multi-threaded code and with C++. Spelling fixes.
282 2000-07-29 Mark Kettenis <kettenis@gnu.org>
284 * resolv/resolv.h (struct __sockaddr_in): Remove.
285 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
287 2000-07-29 Greg McGary <greg@mcgary.org>
289 * Rules (test-bp-inputs, make-test-out): New variables.
290 ($(objpfx)%-bp.out): New rule.
291 ($(objpfx)%.out): Rewrite in terms of new variables.
293 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
294 internal function that uses vtable.
295 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
296 * libio/vswprintf.c (_IO_vswprintf): Likewise.
298 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
299 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
300 (chunk_align): Likewise.
302 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
303 in a way that conforms to decl, and avoids spurious bounds violation.
305 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
306 * sysdeps/generic/frame.h: Likewise.
307 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
309 (__backtrace): Qualify frame-pointer chain and return address
310 pointers as __unbounded. Wrap bounds around variable `current'.
311 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
313 (catch_segfault): Qualify frame-pointer chain and return address
314 pointers as __unbounded. Wrap bounds around variable `current'.
315 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
316 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
317 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
319 (__backtrace): Qualify frame-pointer chain and return address
320 pointers as __unbounded. Wrap bounds around variable `current'.
322 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
323 * sysdeps/i386/mul_1.S: Likewise.
324 * sysdeps/i386/submul_1.S: Likewise.
325 * sysdeps/i386/i586/addmul_1.S: Likewise.
326 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
327 * sysdeps/i386/i586/submul_1.S: Likewise.
329 2000-07-27 Andreas Jaeger <aj@suse.de>
331 * libio/Depend: New file, libio needs localedata for tests.
332 * posix/Depend: Likewise.
334 2000-07-28 Ulrich Drepper <drepper@redhat.com>
336 * stdio-common/_i18n_itoa.c: Removed.
337 * stdio-common/_i18n_itoa.h: Removed.
338 * stdio-common/_i18n_itowa.c: Removed.
339 * stdio-common/_i18n_itowa.h: Removed.
340 * stdio-common/_i18n_number.h: New file.
341 * stdio-common/Depend: New file.
342 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
343 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
344 printing. Change printing of numbers with locale specific digits to
345 use new code in _i18n_number.h.
346 * stdio-common/Makefile (routines): Remove _i18n_itoa and
349 * stdio-common/bug13.c: Improve messages.
351 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
352 (set_class_defaults): Always search also for Uxxxx names.
353 Detect insufficient number of outdigits.
355 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
357 2000-07-27 Bruno Haible <haible@clisp.cons.org>
359 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
361 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
362 * wctype/wcfuncs.c (towlower, towupper): Use them.
363 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
364 * wctype/wctrans.c (wctrans): Likewise.
365 * wctype/wctrans_l.c (__wctrans_l): Likewise.
367 2000-07-27 Bruno Haible <haible@clisp.cons.org>
369 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
370 Use the optimized version of this function outside glibc as well.
372 2000-07-27 Jakub Jelinek <jakub@redhat.com>
374 * locale/indigits.h (indigit_value): Correct.
375 * locale/indigitswc.h (indigitwc_value): Correct.
376 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
377 conversion, add GROUP checking for it, fix GROUP number
378 conversion with strlen(thousands) > 1.
379 Honour width correctly in the presence of floating
380 decimal points and thousands separators.
381 * stdio-common/tst-sscanf.c: New test.
382 * stdio-common/Makefile: Add it to tests.
383 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
384 thousands separators and group argument is non-zero.
386 2000-07-25 Bruno Haible <haible@clisp.cons.org>
388 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
391 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
393 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
394 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
396 (headers): Add sys/tas.h.
397 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
399 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
400 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
403 2000-07-28 Andreas Jaeger <aj@suse.de>
405 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
407 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
408 ($(objpfx)tst-dladdr.out): new.
409 (tests): Add tst-dladdr.
410 ($(objpfx)glrefmain): Use libdl.
412 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
415 2000-07-27 Jes Sorensen <jes@linuxcare.com>
417 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
420 2000-07-27 Jes Sorensen <jes@linuxcare.com>
422 * intl/tst-translit.c: Include string.h to get prototype for
425 2000-07-27 Jes Sorensen <jes@linuxcare.com>
427 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
428 name and add weak alias for __fork.
430 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
431 & pwrite to use __libc_<name> as strong names instead of
434 * include/sched.h: Add clone2 prototype.
436 2000-07-26 Jes Sorensen <jes@linuxcare.com>
438 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
439 procedure name twice.
441 2000-07-27 Philip Blundell <philb@gnu.org>
443 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
445 2000-07-27 Andreas Jaeger <aj@suse.de>
447 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
448 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
449 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
450 Reported by Andi Kleen <ak@suse.de>.
452 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
453 (do_wait): Test requests with aio_return64.
454 (do_test): Change callers of do_wait.
456 2000-07-26 Andreas Jaeger <aj@suse.de>
458 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
459 (do_wait): Test requests with aio_return.
460 (do_test): Change callers of do_wait.
462 2000-07-27 Ulrich Drepper <drepper@redhat.com>
464 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
465 from request list. Don't do the list handling here, call
466 __aio_remove_request.
467 * rt/aio_misc.h: Add prototype for __aio_remove_request.
468 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
469 request might already be processed. Don't do the list handling
470 here, call __aio_remove_request.
472 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
475 * rt/aio_misc.c: Add comment explaining why writer memory barriers
478 2000-07-27 Greg McGary <greg@mcgary.org>
480 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
481 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
482 in union init. Pass zero for ignored semnum arg to semctl.
483 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
485 2000-07-26 Greg McGary <greg@mcgary.org>
487 * sysdeps/gnu/bits/msq.h: Qualify kernel's
488 data structure pointers as __unbounded.
489 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
490 * sysdeps/generic/bp-semctl.h: New file.
491 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
492 pointers as __unbounded. Check bounds of syscall args.
493 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
494 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
495 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
496 * sysdeps/unix/sysv/linux/semop.c: Likewise.
497 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
498 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
499 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
500 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
501 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
502 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
503 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
504 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
505 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
507 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
508 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
510 2000-07-26 Ulrich Drepper <drepper@redhat.com>
512 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
514 * locale/C-ctype.c: Likewise.
515 * wcsmbs/wcsmbsload.c: Likewise.
517 2000-07-26 Greg McGary <greg@mcgary.org>
519 * Makeconfig (+link-bounded, link-libc-bounded,
520 link-extra-libs-bounded): New variables.
521 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
522 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
523 * Rules (tests-bp.out): New variable.
524 (tests): Conditionally add BP tests.
525 (binaries-bounded): Add variable and associated rule.
526 * csu/Makefile [build-bounded] (extra-objs, install-lib):
527 Move conditional stuff after place where condition is defined.
529 * malloc/malloc.c (bp-checks.h): Add #include.
530 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
531 (_bin_at): Add unbounded version of bin_at.
532 (IAV, chunk_alloc): Use unbounded _bin_at.
533 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
534 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
535 Wrap BOUNDED_N around return value.
536 (chunk_realloc): Adjust oldsize once.
538 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
539 (__ubp_memchr): Add correct decl.
540 (_CHECK_STRING): Use __ubp_memchr.
541 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
542 New alias for unbounded-pointer __memchr.
543 * sysdeps/i386/memchr.S: Likewise.
544 * sysdeps/ia64/memchr.S: Likewise.
545 * sysdeps/m68k/memchr.S: Likewise.
546 * sysdeps/sparc/sparc32/memchr.S: Likewise.
547 * sysdeps/sparc/sparc64/memchr.S: Likewise.
548 * sysdeps/vax/memchr.s: Likewise.
550 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
551 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
552 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
553 * sysdeps/i386/i686/strtok.S: Likewise.
554 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
555 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
557 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
558 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
560 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
561 bounds of copy_result to mount_proc.
563 2000-07-25 Bruno Haible <haible@clisp.cons.org>
565 * wctype/wctype.h (__wctrans_l): New declaration.
566 * wctype/wctrans_l.c: New file.
567 * wctype/Makefile (routines): Add wctrans_l.
569 2000-07-26 Ulrich Drepper <drepper@redhat.com>
571 * posix/fnmatch_loop.c: Fixes for use outside glibc.
572 Patch by MacGyver <macgyver@tos.net>.
574 2000-07-26 Andreas Jaeger <aj@suse.de>
576 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
577 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
578 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
580 * rt/tst-aio.c (test_file): Fix typo.
581 * rt/tst-aio64.c (test_file): Likewise.
583 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
584 * rt/Makefile: Add rules to build and run tst-aio3.
586 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
587 it's not needed and confuses only.
589 2000-07-26 Ulrich Drepper <drepper@redhat.com>
591 * resolv/res_init.c: Add support for nameserver communication with
593 * resolv/res_send.c: Likewise.
594 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
596 Patch by <venaas@nvg.ntnu.no>.
598 2000-07-25 Bruno Haible <haible@clisp.cons.org>
600 * locale/programs/ld-ctype.c (wctype_table_get): New function.
601 (wcwidth_table_get): New function.
602 (wcwidth_table_add): Call it.
603 (wctrans_table_get): New function.
604 (wctrans_table_add): Call it.
606 2000-07-25 Ulrich Drepper <drepper@redhat.com>
608 * rt/lio_listio.c (lio_listio): Always disable individual
610 * rt/Makefile: Add rules to build and run tst-aio2.
611 * rt/tst-aio2.c: New file.
613 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
614 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
616 2000-07-25 Mark Kettenis <kettenis@gnu.org>
618 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
619 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
620 leading and trailing spaces from host, user and domain name.
622 2000-07-25 Jes Sorensen <jes@linuxcare.com>
624 * csu/defs.awk: Add support for need_endp.
626 2000-07-25 Mark Kettenis <kettenis@gnu.org>
628 * resolv/resolv.h: Remove __P from res_send_qhook and
629 res_send_rhook typedefs.
631 2000-07-25 Bruno Haible <haible@clisp.cons.org>
633 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
635 2000-07-25 Ulrich Drepper <drepper@redhat.com>
637 * iconv/gconv_builtin.h: Add WCHAR_T alias.
639 2000-07-25 Mark Kettenis <kettenis@gnu.org>
641 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
642 calling thread, set the cancellation flag and return success
645 2000-07-25 Ulrich Drepper <drepper@redhat.com>
647 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
648 * libio/tst-widetext.c: New file.
649 * libio/tst-widetext.input: New file.
651 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
653 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
654 empty external buffer correctly.
656 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
658 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
659 __STRING(entry) and not #entry.
660 (_RTLD_EPILOGUE): Likewise.
661 * sysdeps/mips/mips64/dl-machine.h: Likewise.
663 2000-07-25 Andreas Jaeger <aj@suse.de>
665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
666 according to changes in test program, run also with static only
668 ($(objpfx)tst-printf.out): Likewise.
670 * stdio-common/tst-unbputc.sh: Likewise.
671 * stdio-common/tst-printf.sh: Likewise.
673 2000-07-25 Ulrich Drepper <drepper@redhat.com>
675 * libio/wfileops.c (_IO_wdo_write): Correct return value.
677 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
680 * libio/fileops.c: Pretty print.
682 2000-07-23 Bruno Haible <haible@clisp.cons.org>
684 * wctype/wchar-lookup.h: New file.
685 * wctype/iswctype.c: Include "wchar-lookup.h".
686 (__iswctype): Support alternate locale format with 3-level tables.
687 * wctype/iswctype_l.c (__iswctype_l): Likewise.
688 * wctype/towctrans.c (__towctrans): Likewise.
689 * wctype/towctrans_l.c (__towctrans_l): Likewise.
690 * wctype/wcfuncs.c: Include "wchar-lookup.h".
691 (__ctype32_wctype, __ctype32_wctrans): Declare external.
692 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
693 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
694 __iswxdigit, towlower, towupper): Support alternate locale format
696 * wctype/wcextra.c (iswblank): Likewise.
697 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
698 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
699 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
700 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
701 format with 3-level tables.
702 * wctype/wcextra_l.c (__iswblank_l): Likewise.
703 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
704 format, return a 3-level table pointer.
705 * wctype/wctype_l.c (__wctype_l): Likewise.
706 * wctype/wctrans.c (wctrans): Likewise.
707 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
708 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
709 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
710 (iswctype): Remove macro definition.
711 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
712 (internal_wcwidth): Support alternate locale format with 3-level
714 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
716 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
717 Define them as being type "word".
718 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
719 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
720 __ctype32_width): New exported variables.
721 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
722 alternate locale format. Don't initialize __ctype_names and
723 __ctype_width in the alternate locale format.
724 * locale/programs/localedef.h (oldstyle_tables): New declaration.
725 * locale/programs/localedef.c (oldstyle_tables): New variable.
726 (OPT_OLDSTYLE): New macro.
727 (options): Add --old-style option.
728 (parse_opt): Handle --old-style option.
729 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
730 map_offset, class_3level, map_3level, width_3level members.
731 (ctype_output): Support for alternate locale format: Computation of
732 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
733 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
734 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
735 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
736 now contain both class and map tables.
737 (struct wctype_table): New type.
738 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
740 (struct wcwidth_table): New type.
741 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
743 (struct wctrans_table): New type.
744 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
746 (allocate_arrays): Support for alternate locale format: Set
747 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
748 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
749 to the first 256 characters. Compute ctype->map_3level. Set
750 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
751 instead of ctype->width.
753 2000-07-24 Ulrich Drepper <drepper@redhat.com>
755 * libio/iogetwline.c (_IO_getwline_info): Use wide character
758 2000-07-24 Jakub Jelinek <jakub@redhat.com>
760 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
761 in wide characters, not bytes.
762 * libio/tst_putwc.c (do_test): Add test for writing lots of data
765 2000-07-22 Bruno Haible <haible@clisp.cons.org>
767 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
768 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
769 LC_MEASUREMENT, LC_IDENTIFICATION.
771 * locale/xlocale.h (struct __locale_struct): Increase size of
773 * locale/duplocale.c (__duplocale): Copy newly added categories as
775 * locale/freelocale.c (__freelocale): Free newly added categories.
776 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
777 If a base is given, use it, don't simply return it.
779 2000-07-22 Bruno Haible <haible@clisp.cons.org>
781 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
782 variables, copied_key and copied_salt, instead of boolean variables.
784 2000-07-24 Andreas Jaeger <aj@suse.de>
786 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
789 * grp/initgroups.c (initgroups_dyn_function): Renamed from
790 initgroups_function, adopted prototype for change from 2000-07-23.
791 (initgroups): Follow type change.
793 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
794 & PAGE_MASK case, reformat.
796 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
797 from stdin and setup environment.
799 2000-07-24 Andreas Schwab <schwab@suse.de>
801 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
803 2000-07-23 Ulrich Drepper <drepper@redhat.com>
805 * string/endian.h: Explain the _*_ENDIAN constant values a bit
806 more. Patch by scarlet@mit.edu [PR libc/1799].
808 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
811 * argp/argp-parse.c (parser_finalize): Reverse order in which
812 parsers are run for ARGP_KEY_END. [PR libc/1755].
814 * grp/initgroups.c (initgroups): Don't limit the possible number
815 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
816 the setgroups call while the call fails and descrease the number
817 of groups each round.
818 The name of the initgroups function in the NSS modules changed.
819 (compat_call): Adapt for dynamic resizing.
820 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
821 Implement dynamic resizing.
822 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
824 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
825 * hesiod/Versions: Change exported interface name.
826 * nis/Versions: Change exported interface name.
828 2000-07-23 Ulrich Drepper <drepper@redhat.com>
830 * locale/iso-639.def: Some errors corrected.
831 Patch by Keld Simonsen.
833 * include/limits.h: Update non-gcc portion.
834 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
836 2000-07-22 Mark Kettenis <kettenis@gnu.org>
838 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
839 program's data space, reallocate only the space that was just
840 deallocated to release its backing space.
842 2000-07-23 Ulrich Drepper <drepper@redhat.com>
844 * stdio-common/vfprintf.c (process_string_arg): For wide character
845 version, handle precision also correctly.
847 * nss/nss_files/files-hosts.c: Correct problem with three or more
848 entries with the same name.
850 * nss/nss_files/files-hosts.c: Implement multi handling.
851 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
853 2000-07-22 Ulrich Drepper <drepper@redhat.com>
855 * nss/nss_files/files-parse.c: Don't pollute namespace by using
858 * grp/Makefile: Change Makefiles and tests to run only when necessary.
859 * malloc/Makefile: Likewise.
860 * malloc/tst-mtrace.sh: Likewise.
861 * posix/Makefile: Likewise.
862 * posix/globtest.sh: Likewise.
863 * posix/wordexp-tst.sh: Likewise.
864 * string/Makefile: Likewise.
866 2000-07-22 Mark Kettenis <kettenis@gnu.org>
868 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
869 size instead of LC_ALL to take into account the new locale
872 2000-07-22 Ulrich Drepper <drepper@redhat.com>
874 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
875 remainders of hash table.
876 * locale/categories.def: Remove remainders of transliteration
878 * locale/langinfo.h: Likewise.
879 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
880 transliteration tables.
882 * locale/gen-translit.pl: New file.
883 * locale/C-translit.h.in: New file.
884 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
885 data pointers with data from this file.
886 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
888 Add rule to generate C-translit.h.
889 * intl/tst-translit.c (main): Update for now performed
892 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
893 (it's no input error).
894 * stdio-common/tstscanf.c: Add test case for format %f with input --.
895 * stdio-common/scanf12.c: Correct expected result for first scanf.
897 * stdio-common/vfprintf.c (process_string_arg): Correct handling
898 of multibyte character strings in %s format with precision.
900 2000-07-21 Ulrich Drepper <drepper@redhat.com>
902 * locale/programs/ld-collate.c (collate_read): Allow collating
903 symbols and elements be named in reorder-after instructions.
904 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
906 * locale/programs/ld-collate.c (handle_ellipsis): Test for
907 duplication with generated name, not the name of the first
909 Patch by Yong Li <yong.li@asu.edu>.
911 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
912 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
914 2000-07-21 Wolfram Gloger <wg@malloc.de>
916 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
917 allocations only if a non-main arena cannot be extended.
919 2000-07-21 Ulrich Drepper <drepper@redhat.com>
921 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
922 in DF_1_NODEFLIB handling.
924 2000-07-21 Andreas Jaeger <aj@suse.de>
926 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
929 * libio/fwide.c: Include <wchar.h> for prototype.
931 2000-07-21 Greg McGary <greg@mcgary.org>
933 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
934 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
935 Define in terms of chunk_at_offset.
936 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
937 (next_bin, prev_bin): offset by size of real array elements.
938 (chunk_align): Make `m' a scalar, since that's how it's used.
940 2000-07-21 Greg McGary <greg@mcgary.org>
942 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
944 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
945 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
946 Wrap bounds around argv & envp and each of their string members.
947 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
948 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
949 symbol in BP_SYM (). Discard bounds of address arg.
950 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
951 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
952 Discard bounds on address arg, add bounds to return value.
954 2000-07-20 Ulrich Drepper <drepper@redhat.com>
956 * elf/Makefile (tests): Add filter. Add rules to generate filter.
957 * elf/filter.c: New file.
958 * elf/filtmod1.c: New file.
959 * elf/filtmod2.c: New file.
961 * elf/rtld.c: Define _dl_bind_not variable.
962 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
963 * elf/dl-support.c: Likewise.
964 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
965 * elf/dl-runtime.c (fixup): Don't remember looked up value if
967 (profile_fixup): Likewise.
969 * libio/Makefile (routines): Add fwide.
970 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
971 fwide now. Internal calls to _IO_fwide must do locking themselves
972 or don't need locking.
973 * libio/fwide.c: New file.
975 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
977 * elf/Makefile: Add no modules for nodelete test.
978 * elf/nodelmod3.c: New file.
979 * elf/nodelmod4.c: New file.
980 * elf/nodelete.c: Also test case where dependency of dlopen() object
983 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
984 * elf/nodlopen.c: New file.
985 * elf/nodlopenmod.c: New file.
986 * include/dlfcn.h: Define __RTLD_DLOPEN.
987 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
988 and this is a dlopen() call, do not load the binary.
989 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
990 * dlfcn/dlopenold.c: Likewise.
991 * configure.in: Add test for -z nodelete option.
992 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
994 2000-07-20 Mark Kettenis <kettenis@gnu.org>
996 Make Hesiod NSS module thread-safe.
998 * hesiod/README.hesiod: Update.
1000 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1001 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1002 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1003 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1005 * hesiod/nss_hesiod/hesiod-init.c: New file.
1006 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1007 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1008 * hesiod/nss_hesiod/nss_hesiod.h: New file.
1009 * hesiod/nss_hesiod/hesiod-service.c
1010 (_nss_hesiod_getservbyport_r): New function. Provide support for
1011 looking up services by port number.
1012 * hesiod/nss_hesiod/hesiod-proto.c: New file.
1014 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1015 * hesiod/hesiod.h: Likewise.
1016 * hesiod/hesiod_p.h: Likewise.
1018 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1020 Fix problems with `struct __res_state' getting too big.
1021 * resolv/resolv.h (struct __sockaddr_in): New definition.
1022 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1023 the private parts of the structure to save some space.
1024 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1025 (struct sockaddr_in *) in call to sock_eq.
1026 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1028 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1030 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1031 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1033 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1034 to _dl_map_object. Return immediately if no object loaded.
1035 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1036 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1037 if it exists into l_flags_1 word.
1038 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1039 it to determine whether loading is wanted or not.
1040 (_dl_map_object): Likewise.
1041 Call _dl_map_object_from_fd with new parameter.
1042 * sysdeps/generic/ldsodefs.h: Update prototype.
1043 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1044 * elf/rtld.c: Likewise.
1045 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1046 * elf/Makefile (tests): Add noload. Add rules to generate noload.
1047 * elf/noload.c: New file.
1048 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1049 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1050 * sysdeps/mips/bits/dlfcn.h: Likewise.
1051 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1052 (tests-nodelete-yes): Define.
1053 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1054 Add rules to build nodelete and modules.
1055 * elf/nodelete.c: New file.
1056 * elf/nodelmod1.c: New file.
1057 * elf/nodelmod2.c: New file.
1058 * configure.in: Add test for -z nodelete option.
1059 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1061 * libio/Makefile (tests): Add tst_wprintf2.
1062 (tst_wprintf2-ARGS): Define.
1063 * libio/tst_wprintf2.c: New file.
1064 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1066 * libio/wfiledoalloc.c: Only allocate external buffer if this
1067 hasn't happened yet.
1069 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1070 something in the buffer. gconv call can write up to end of the
1071 buffer, not only _IO_write_end.
1072 (_IO_wfile_overflow): Allocate also external buffer.
1074 2000-07-19 Ulrich Drepper <drepper@redhat.com>
1076 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1077 strings with precision in vfwprintf correctly.
1078 * stdio-common/vfprintf.c: Fix completely broken handling of
1079 unbuffered wide character streams.
1080 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1082 * resolv/Makefile (distribute): Add README.
1084 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
1086 2000-07-18 Mark Kettenis <kettenis@gnu.org>
1088 Update resolver code to BIND 8.2.3-T5B.
1090 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1092 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1093 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1095 * resolv/Banner: BIND-8.2.3-T5B.
1097 * resolv/base64.c: Update from BIND 8.2.3-T5B.
1098 * resolv/herror.c: Likewise.
1099 * resolv/inet_addr.c: Likewise.
1100 * resolv/inet_net_ntop.c: Likewise.
1101 * resolv/inet_net_pton.c: Likewise.
1102 * resolv/inet_neta.c: Likewise.
1103 * resolv/inet_ntop.c: Likewise.
1104 * resolv/nsap_addr.c: Likewise.
1105 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
1106 IPv6 addresses (ISC bug #520).
1108 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
1109 * resolv/ns_parse.c: Likewise.
1110 * resolv/ns_netint.c: Likewise.
1111 * resolv/ns_samedomain.c: Likewise.
1112 * resolv/ns_ttl.c: Likewise.
1113 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
1114 RCS ID in object file.
1116 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
1117 * resolv/res_mkquery.c: Likewise.
1118 * resolv/res_query.c: Likewise.
1119 * resolv/res_init.c: Likewise.
1120 (res_setoptions): Mark internal.
1121 * resolv/res_send.c: Likewise.
1122 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
1123 by using poll instead.
1124 * resolv/res_comp.c: Likewise.
1125 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
1126 weak alias for __dn_expand.
1127 * resolv/res_data.c: Likewise.
1128 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
1129 in _res.options. Avoids a potential security risk by avoiding a
1131 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
1132 res_mkquery, res_query, res_querydomain adn res_search weak
1133 aliases for __res_mkquery, __res_query, __res_querydomain and
1135 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
1136 instead to avoid close(0).
1137 (res_init): Always use the static resolver context.
1138 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
1139 alias for __res_init.
1141 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
1142 RES_SET_H_ERRNO and accompanying comment to...
1143 * include/resolv.h: ... here.
1145 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
1146 * resolv/arpa/nameser_compat.h: Likewise.
1148 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1150 * nss/makedb.c (main): Compare result of load_db with
1151 NSS_STATUS_SUCCESS and not 0.
1152 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
1154 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
1156 2000-07-18 Greg McGary <greg@mcgary.org>
1158 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
1159 (EXTEND_BUFFER): Use it.
1161 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1163 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1164 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1165 __builtin_return_address.
1166 * dlfcn/dlopenold.c: Likewise.
1167 * dlfcn/dlsym.c: Likewise.
1168 * dlfcn/dlvsym.c: Likewise.
1169 * elf/dl-profstub.c: Likewise.
1170 * malloc/malloc.c: Likewise.
1171 * sysdeps/generic/machine-gmon.h: Likewise.
1172 Based on a patch by schwidefsky@de.ibm.com.
1174 2000-07-18 Andreas Jaeger <aj@suse.de>
1176 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1177 NULL to elf_machine_fixup_plt t argument to silence GCC.
1179 * include/string.h: Add prototype for __memchr.
1181 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1183 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1186 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1188 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1190 * locale/C-ctype.c: Add initializers for gap elements.
1191 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1194 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1196 * nscd/nscd.c (print_version): Update copyright year.
1198 2000-07-17 Greg McGary <greg@mcgary.org>
1200 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1201 keyletters F, I, S, W. Remove unused keyletter V. Surround
1202 signature argnames with angle-brackets for use as word delimiters,
1203 and to induce syntax errors for any args not handled. Split
1204 multi-echo echoes and comment each stage.
1205 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1206 * sysdeps/unix/inet/syscalls.list: Likewise.
1207 * sysdeps/unix/mman/syscalls.list: Likewise.
1208 * sysdeps/unix/syscalls.list: Likewise.
1209 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1210 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1211 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1212 * sysdeps/unix/sysv/syscalls.list: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1215 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1216 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1217 qualifiers. Don't check NULL-terminator of argv & envp.
1218 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1219 unbounded pointer type in word-size assertion.
1220 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1221 cases to stifle warnings.
1223 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1225 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1227 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1228 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
1231 * Makerules (o-objects): Supplement with $(o-objects$o).
1232 * string/Makefile (o-objects.ob): Add variable to pull
1233 unbounded versions of memcpy, memset and memchr into libc_b.
1235 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1236 rather than non-existent __ubp_memchr.
1237 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1238 (_CHECK_STRING, _CHECK_N): New macros.
1239 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1240 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1241 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1242 Add weak alias "memchr".
1243 * sysdeps/generic/memchr.c: Likewise.
1244 * sysdeps/i386/memchr.S: Likewise.
1245 * sysdeps/ia64/memchr.S: Likewise.
1246 * sysdeps/m68k/memchr.S: Likewise.
1247 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1248 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1249 * sysdeps/vax/memchr.s: Likewise.
1251 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1253 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1254 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1255 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1256 __BOUNDED_POINTERS__.
1257 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1258 for __BOUNDED_POINTERS__.
1260 2000-07-17 Bruno Haible <haible@clisp.cons.org>
1262 * iconv/gconv_open.c (__gconv_open): Initialize the __data
1263 field of struct __gconv_trans_data differently. Don't pass NULL to
1264 trans_init_fct. Simplify list append operation.
1266 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1268 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1269 not only those having tsearch.
1271 2000-07-17 Ulrich Drepper <drepper@redhat.com>
1273 * locale/langinfo.h: Add placeholder values in enum for removed
1276 2000-07-17 Jakub Jelinek <jakub@redhat.com>
1278 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1279 chain if the PHDR check fails.
1281 2000-07-17 Mark Kettenis <kettenis@gnu.org>
1283 * nss/getent.c (print_hosts): Make sure we always print a space
1284 between numeric addresses and hostnames.
1286 2000-07-17 Wolfram Gloger <wg@malloc.de>
1288 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1289 i.e. if n_mmaps_max>0.
1291 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1293 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1294 values to remove possible clash with other AI_* constants.
1295 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1296 hexadecimal constants to stress the fact they're in fact
1299 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1301 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1302 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1303 instead of res_init.
1305 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1307 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1308 parameters of memset calls to avoid warnings.
1310 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1312 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1315 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1316 Patch by Greg McGary <greg@mcgary.org>.
1318 * io/Makefile (tests): Add tst-getcwd.
1319 * io/tst-getcwd.c: New file.
1321 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1323 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1325 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1328 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1330 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1331 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1333 2000-07-12 H.J. Lu <hjl@gnu.org>
1335 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1337 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1338 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1339 (sysdep-routines): Add clone2.
1340 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1342 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1344 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1345 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1347 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1349 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1350 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1351 Change type of si_band from "int" to "long".
1352 (si_imm) [USE_GNU]: Define
1353 (si_isr) [USE_GNU]: Ditto.
1354 (ILL_BREAK) [USE_GNU]: Ditto.
1355 (FPE_DECOVF) [USE_GNU]: Ditto.
1356 (FPE_DECDIV) [USE_GNU]: Ditto.
1357 (FPE_DECERR) [USE_GNU]: Ditto.
1358 (FPE_INVASC) [USE_GNU]: Ditto.
1359 (FPE_INVDEC) [USE_GNU]: Ditto.
1360 (TRAP_BRANCH) [USE_GNU]: Ditto.
1361 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1363 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1365 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1366 bits/sigcontext as struct mcontext does not depend on it.
1368 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1370 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1372 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1374 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1376 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1378 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1380 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1382 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1384 * intl/Makefile (test-srcs): Add tst-translit.
1386 Add rules to build and run tst-translit.
1387 * intl/tst-translit.c: New file.
1388 * intl/tst-translit.sh: New file.
1389 * intl/translit.po: New file.
1391 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1393 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1394 transliteration function did its job, continue, don't stop.
1396 * iconvdata/iso646.c: Little optimizations in body for conversion
1399 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1401 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1403 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1405 * configure.in: Check for pwd binary.
1406 * config.make.in: Add PWD_P to be subsituted.
1407 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1409 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1411 * iconvdata/Makefile (modules): Add GB18030.
1412 (distribute): Add gb18030.c.
1413 * iconvdata/gconv-modules: Add entries for GB18030 module.
1414 * iconvdata/gb18030.c: New file.
1415 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1418 2000-07-13 Andreas Jaeger <aj@suse.de>
1420 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1423 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1424 * inet/getnetgrent.c (free_mem): Likewise.
1425 * misc/mntent.c (free_mem): Likewise.
1426 * nss/getXXbyYY.c (free_mem): Likewise.
1427 * nss/getXXent.c (free_mem): Likewise.
1428 * pwd/fgetpwent.c (free_mem): Likewise.
1429 * shadow/fgetspent.c (free_mem): Likewise.
1431 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1433 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1434 64-bit architecture correctly [PR libc/1794].
1436 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1438 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1439 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1440 report that we are out of memory.
1441 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1442 * elf/dl-libc.c (dlerror_run): Likewise.
1443 * elf/dl-open.c (_dl_open): Likewise.
1444 * elf/rtld.c (dl_main): Likewise.
1445 * elf/dl-error.c: Define _dl_out_of_memory.
1446 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1448 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1451 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1453 * iconv/loop.c: Fix comment.
1455 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1457 2000-07-13 Andreas Jaeger <aj@suse.de>
1459 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1460 getcwd (NULL, size) with size > 0.
1461 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1463 2000-07-13 Andreas Jaeger <aj@suse.de>
1465 * posix/Makefile: Remove build rules for libposix.
1467 2000-07-13 Andreas Schwab <schwab@suse.de>
1469 * sysdeps/generic/glob.c (glob): Fix memory leak.
1470 [SHELL]: Remove reference to undefined variable `files'.
1473 2000-07-13 Andreas Jaeger <aj@suse.de>
1475 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1478 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1479 memory if it was allocated.
1481 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1483 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1486 * iconv/gconv_open.c (__gconv_open): Reapply
1487 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1489 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1491 * iconv/gconv_open.c: Undo last two changes for now. They break
1494 2000-07-12 Andreas Jaeger <aj@suse.de>
1496 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1498 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1499 (CFLAGS-dl-cache.c): Likewise.
1500 (CFLAGS-ldconfig.c): Added, passes directory locations.
1502 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1504 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1505 (main): Use configured LIBDIR and SLIBDIR.
1507 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1509 * math/bits/cmathcalls.h (cimag): Add __THROW.
1510 (creal, conj): Likewise.
1511 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1514 2000-07-12 H.J. Lu <hjl@gnu.org>
1516 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1517 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1519 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1521 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1524 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1526 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1528 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1530 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1533 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1535 * iconv/gconv_open.c (__gconv_open): Initialize
1536 result->__steps[cnt].__data.
1538 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1540 * nss/getent.c (services_keys): Pass port number in network byte
1541 order in call to getservbyport.
1543 2000-07-11 Andreas Jaeger <aj@suse.de>
1545 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1547 * intl/Makefile (do-gettext-test): Likewise.
1548 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1550 2000-07-11 Andreas Schwab <schwab@suse.de>
1552 * Makeconfig (run-program-prefix): New rule.
1553 (built-program-cmd): Use run-program-prefix.
1555 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1557 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1558 and NOEXPR unconditionally available.
1560 2000-07-12 Greg McGary <greg@mcgary.org>
1562 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1563 * sysdeps/posix/open64.c: Likewise.
1564 * sysdeps/generic/fegetenv.c: Likewise.
1565 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1566 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1567 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1568 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1569 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1570 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1572 2000-07-11 Greg McGary <greg@mcgary.org>
1574 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1575 Add extra level of macro expansion.
1576 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1577 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1578 is available at the time `select' prototype is declared.
1579 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1580 Collect non-versioned weak aliases. Consider only non-versioned
1581 aliases for the user-visible systemcall name. Do checks inline with
1582 call to primitive system call.
1583 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1584 stand-alone bounds checks to suppress unused value warnings.
1585 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1587 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1589 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1590 file descriptor checking in SUID programs for the Hurd.
1592 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1593 res_hostalias instead of __hostalias for thread-safety.
1595 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1597 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1598 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1600 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1602 * include/features.h: Include ISO C99 features if the compiler used
1603 is an ISO C99 compiler.
1604 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1606 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1608 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1610 2000-07-10 Andreas Jaeger <aj@suse.de>
1612 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1613 it's overridden by libpthreads.
1614 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1615 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1616 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1617 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1618 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1620 * malloc/Makefile: Run tst-mtrace only with shared libs.
1622 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1625 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1627 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1628 that gpreg really points to the GOT section of the calling object.
1629 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1630 checking a start address of first one.
1632 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1635 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1637 2000-07-10 Andreas Jaeger <aj@suse.de>
1639 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1640 (string_alias->strong_alias).
1642 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1644 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1646 2000-07-07 Greg McGary <greg@mcgary.org>
1648 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1649 have no names without leading underscores.
1651 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1653 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1656 * stdio-common/Makefile (tests): Remove tst-printf here...
1657 (tests-srcs): ...and add it here.
1658 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1659 Add rules to run tst-printf.sh.
1660 * stdio-common/tst-printf.c: Move code around so that there is really
1661 no further output where it's stated.
1662 * stdio-common/tst-printf.sh: New file.
1664 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1666 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1667 (do_write): Renamed from pwrite.
1668 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1669 `struct _IO_cookie_file'.
1671 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1673 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1675 * malloc/tst-mtrace.sh: Run mtrace script.
1677 2000-07-07 Greg McGary <greg@mcgary.org>
1679 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1680 Move all three components of a bounded pointer.
1682 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1684 * locale/programs/locale.c (write_locales): Don't simply add all
1685 directories found in the subdir, test whether at least the
1686 LC_CTYPE file is in there.
1688 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1690 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1691 * iconvdata/euc-kr.c: Likewise.
1693 * stdio-common/vfprintf.c (process_string_arg): Check result of
1694 wcrtomb call and bail out if it failed.
1696 * malloc/Makefile (test-srcs): Add tst-mtrace.
1697 (distribute): Add tst-mtrace.sh.
1698 Add rule to run tst-mtrace.sh.
1699 * malloc/tst-mtrace.c: New file.
1700 * malloc/tst-mtrace.sh: New file.
1702 * include/signal.h: Declare __libc_sigaction.
1703 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1704 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1705 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1706 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1707 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1711 * configure.in: Fix CFLAGS-memprofstat.c definition after
1713 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1715 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1718 instead of NULL to elf_machine_fixup_plt t argument.
1719 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1723 2000-07-06 Andreas Jaeger <aj@suse.de>
1725 * crypt/Makefile (LDLIBS-cert): Removed.
1726 (LDLIBS-md5c-test): Removed.
1727 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1728 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1730 2000-07-06 Andreas Jaeger <aj@suse.de>
1732 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1733 of the proc system is "proc".
1735 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1736 thread library for static programs.
1738 2000-07-06 Greg McGary <greg@mcgary.org>
1740 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1742 * sysdeps/generic/strcpy.c: Add bounds checks.
1743 * sysdeps/unix/fxstat.c: Likewise.
1744 * sysdeps/unix/xstat.c: Likewise.
1745 * sysdeps/unix/common/lxstat.c: Likewise.
1746 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1747 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1748 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1749 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1750 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1751 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1752 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1753 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1754 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1755 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1756 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1757 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1758 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1759 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1760 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1761 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1762 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1763 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1764 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1765 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1766 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1767 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1768 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1769 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1770 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1771 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1772 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1773 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1774 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1775 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1776 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1777 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1778 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1779 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1780 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1781 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1782 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1783 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1784 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1785 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1786 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1787 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1788 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1789 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1790 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1791 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1792 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1793 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1794 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1795 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1796 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1797 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1798 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1799 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1800 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1801 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1802 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1803 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1804 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1805 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1811 * string/endian.h (__LONG_LONG_PAIR): New macro.
1812 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1813 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1814 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1815 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1816 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1817 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1818 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1819 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1820 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1821 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1822 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1823 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1825 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1827 2000-07-06 Andreas Jaeger <aj@suse.de>
1829 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1832 * math/test-fpucw.c: Include <stdio.h> for printf.
1834 2000-07-05 Greg McGary <greg@mcgary.org>
1836 * sysdeps/generic/bp-checks.h: New file.
1837 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1838 with list of #include files.
1839 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1840 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1841 Don't generate BP thunk if `V' appears in signature.
1842 Generate thunks with complete bounds checks.
1843 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1844 * sysdeps/unix/inet/syscalls.list: Likewise.
1845 * sysdeps/unix/mman/syscalls.list: Likewise.
1846 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1847 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1848 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1849 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1851 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1853 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1854 result. Search first in /etc/mtab (proc/mounts would be stupid).
1855 If mount not in the file fall back on /proc.
1857 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1858 string got copied in.
1859 Patch by Solar Designer <solar@false.com>.
1861 2000-07-05 Andreas Jaeger <aj@suse.de>
1863 * manual/install.texi (Installation): Update information about
1865 (Configuring and compiling): Update for glibc 2.2.
1867 2000-07-04 Andreas Jaeger <aj@suse.de>
1869 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1870 (_FPU_IEEE): Likewise.
1872 * math/Makefile (tests): Add test-fpucw.
1874 * math/test-fpucw.c (main): New file.
1876 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1878 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1880 * locale/programs/ld-collate.c (collate_output): Also write out the
1881 collation sequence values and the wide character string for the
1882 collation symbol table.
1884 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1885 * posix/fnmatch_loop.c: Implement collating symbol handling.
1886 * posix/tst-fnmatch.input: Add more tests, especially for collating
1889 * posix/regex.c: Fix comment.
1891 2000-07-05 Andreas Jaeger <aj@suse.de>
1893 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1894 (_FPU_GETCW): Remove extra colon.
1895 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1897 * posix/fnmatch_loop.c (FCT): Only declare len if
1898 !WIDE_CHAR_VERSION to silence GCC.
1900 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1902 * sysdeps/generic/strchrnul.c: Likewise.
1903 * sysdeps/generic/strlen.c: Likewise.
1904 * sysdeps/generic/strchr.c: Likewise.
1905 * sysdeps/generic/memchr.c: Likewise.
1907 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1909 * posix/fnmatch_loop.c: Implement equivalence class handling.
1910 * posix/tst-fnmatch.input: Add tests for equivalence class
1913 * posix/fnmatch_loop.c: Improve performance for single-byte
1914 character sets by not using btowc.
1916 * posix/tst-fnmatch.input: Add tests for locale dependent
1918 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1920 * posix/tst-fnmatch.input: Add more test cases.
1922 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1923 are not aligned to alignof(md5_uint32) do it before calling
1924 __md5_process_bytes.
1925 * crypt/md5.c: Make sure buffers are aligned.
1926 * crypt/md5.h: Likewise.
1927 Reported by Solar Designer <solar@false.com>.
1929 * crypt/Makefile: Add dependencies for test programs.
1931 * Rules: Define LC_ALL=C in environments of all programs we run.
1933 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1935 2000-07-03 H.J. Lu <hjl@gnu.org>
1937 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1938 is 2 + elem + offset, not 2 + elem + offset + 2.
1940 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1942 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1944 * posix/Makefile (tests): Add tst-fnmatch.
1945 (tst-fnmatch-ENV): Define.
1946 * posix/tst-fnmatch.c: New file.
1947 * posix/tst-fnmatch.sh: New file.
1949 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1951 * locale/programs/charmap.c (charmap_read): Prepend
1952 the condition filename == NULL.
1954 2000-07-03 Greg McGary <greg@mcgary.org>
1956 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1958 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1959 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1961 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1962 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1963 (FILEBUF_LITERAL): Add cast for CHAIN init.
1964 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1965 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1966 Revert type of `fp' to _IO_FILE*.
1967 (_IO_iter_file): Remove cast.
1968 (_IO_iter_next): Elide intermediate member reference.
1970 * sysdeps/powerpc/strchr.S: Check bounds.
1971 Wrap extern symbols in BP_SYM ().
1973 2000-07-03 Andreas Jaeger <aj@suse.de>
1975 * dlfcn/Makefile (generated): New.
1977 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1979 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1980 (__uflow): Likewise.
1981 (__underflow): Likewise.
1982 * libio/wgenops.c (__wunderflow): Likewise.
1983 * stdio-common/tst-unbputc.c: New file.
1984 * stdio-common/tst-unbputc.sh: New file.
1985 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1987 * po/en_GB.po: New file.
1988 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1990 2000-07-01 Andreas Jaeger <aj@suse.de>
1992 * intl/Makefile (generated-dirs): New.
1994 * elf/Makefile (generated): trusted-dirs.h is always generated,
1995 move out of build-shared condition.
1996 (generated): Merge the two entries for build-shared.
1998 2000-07-01 Ulrich Drepper <drepper@redhat.com>
2000 * debug/Makefile (distribute): Add xtrace.sh.
2002 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2004 * version.h (VERSION): Bump to 2.1.91.
2006 * configure.in: Update warning comment. glibc should not be
2009 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
2010 ioperm.c, sys/procfs.h, and sys/io.h.
2012 * sysdeps/powerpc/Dist: Add bp-asm.h.
2014 * assert/Depend: Add localedata.
2015 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
2016 (test-assert-perr-ENV): New. Define LANGUAGE=C.
2018 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2019 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2020 relocation address to prevent unaligned trap.
2021 Suggested by Richard Henderson <rth@cygnus.com>.
2023 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2025 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2026 if redirecting and either redirection is done using defines or
2029 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2031 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2032 generated expressions.
2033 Patch by Darren McClelland <dmcclell@zetec.com>.
2035 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2036 since zic uses setlocale and gettext but we cannot make it use the
2037 new locale data since zic calls a shell which might not use the
2040 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2041 handling the internation currency symbol. POSIX says that the
2042 fourth character is used to separate the currency symbol from the
2043 value. Therefore it does not have to be printed. But we cannot
2044 remove the space if the currency symbol is printed before the
2045 number since this is what many locales expect.
2047 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2048 whether this information is available.
2050 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2051 buffers in case the translation is too large. Remember allocated
2052 memory blocks in a list.
2053 (free_mem): Free memory for translations.
2055 * intl/tst-gettext.c: Use correct locale. Improve error messages.
2057 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2058 information is available set the string length to zero.
2060 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2062 2000-06-30 Greg McGary <greg@mcgary.org>
2064 * sysdeps/powerpc/bp-asm.h: New file.
2065 * sysdeps/powerpc/__longjmp.S: Check bounds.
2066 Wrap extern symbols in BP_SYM ().
2067 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2068 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2069 * sysdeps/powerpc/setjmp.S: Likewise.
2070 * sysdeps/powerpc/add_n.S: Likewise.
2071 * sysdeps/powerpc/addmul_1.S: Likewise.
2072 * sysdeps/powerpc/lshift.S: Likewise.
2073 * sysdeps/powerpc/rshift.S: Likewise.
2074 * sysdeps/powerpc/mul_1.S: Likewise.
2075 * sysdeps/powerpc/sub_n.S: Likewise.
2076 * sysdeps/powerpc/submul_1.S: Likewise.
2077 * sysdeps/powerpc/strlen.S: Likewise.
2078 * sysdeps/powerpc/memset.S: Likewise.
2079 * sysdeps/powerpc/stpcpy.S: Likewise.
2080 * sysdeps/powerpc/strcmp.S: Likewise.
2081 * sysdeps/powerpc/strcpy.S: Likewise.
2082 * sysdeps/powerpc/elf/bzero.S: Likewise.
2084 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2085 Line up operands column with tabs.
2087 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2089 * elf/Makefile (LDFLAGS-origtest): Actually add it.
2091 * sysdeps/ia64/htonl.S: New file.
2092 * sysdeps/ia64/htons.S: New file.
2093 * sysdeps/ia64/memcpy.S: Replace with version which does not use
2094 floating point registers.
2095 Patches by Dan Pop <Dan.Pop@cern.ch>.
2097 2000-06-30 Andreas Jaeger <aj@suse.de>
2099 * posix/Makefile (tests): tst-exec and tst-spawn only work with
2102 * io/Makefile (CFLAGS-test-lfs.c): New.
2103 (tests): Add test-lfs.
2105 * io/test-lfs.c: New file.
2107 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2109 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
2112 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
2114 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
2116 2000-06-29 Jes Sorensen <jes@linuxcare.com>
2118 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
2119 alias to the fstatfs call.
2121 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
2122 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
2124 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
2125 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
2127 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
2128 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
2129 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
2130 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
2132 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
2133 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
2135 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
2136 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
2138 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
2139 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
2141 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2143 2000-06-29 Andreas Jaeger <aj@suse.de>
2145 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
2147 (print_err_message): Likewise.
2148 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2150 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2152 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
2153 used as words is properly aligned.
2155 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
2158 2000-06-29 Greg McGary <greg@mcgary.org>
2160 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
2161 * sysdeps/unix/make-syscalls.sh: Handle signatures of
2162 length 7..9, just in case...
2163 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2165 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2166 (POP_ERRNO_LOCATION_RETURN): Fold insns.
2167 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2168 (PUSH_SIGNAL_MASK): New macro.
2169 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2170 LEAVE is unnecessary. Check bounds of jmp_buf.
2171 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
2172 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
2173 immediately before tail-call.
2174 * sysdeps/i386/setjmp.S: Likewise.
2175 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2176 * sysdeps/i386/bsd-setjmp.S: Likewise.
2178 2000-06-29 Jakub Jelinek <jakub@redhat.com>
2180 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2182 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2183 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2184 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2185 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2186 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2187 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2188 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2189 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2191 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2193 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2194 we later need to calling free().
2195 Patch by Matt Wilson <msw@redhat.com>.
2197 * stdio-common/tst-printf.c: Add test for above problem.
2199 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
2201 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2202 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2204 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2206 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2207 prototype for abs().
2208 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2210 2000-06-23 Andreas Jaeger <aj@suse.de>
2212 * config.h.in: Don't use regparm with bounded pointers.
2214 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2216 * stdlib/grouping.h: Correctly handle multibyte thousands
2217 separator and decimal point.
2218 * stdlib/stdtod.c: Likewise.
2219 * sysdeps/generic/strtol.c: Likewise.
2221 * locale/categories.def: Add entries for wide character decimal point
2222 and thousands separator in numeric and monetary category.
2224 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2226 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2227 second definition and initialization of decimal.
2229 2000-06-28 Greg McGary <greg@mcgary.org>
2231 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2233 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2234 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2236 (_IO_JUMPS): Don't cast THIS--expect arg to be a
2237 (struct _IO_FILE_plus *).
2238 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2239 THIS, since _IO_JUMPS no longer does it implicitly.
2240 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2241 arg type as (struct _IO_FILE_plus *).
2242 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2243 arg as (_IO_strfile *).
2244 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2245 Declare 1st arg as (_IO_strfile *).
2246 * libio/fileops.c (_IO_new_file_init): Declare
2247 arg type as (struct _IO_FILE_plus *).
2248 * libio/oldfileops.c (_IO_old_file_init): Likewise.
2249 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2250 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2251 Declare iteration pointer as (struct _IO_FILE_plus *).
2252 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2253 (struct _IO_FILE_plus *).
2254 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2255 * libio/oldstdfiles.c (_IO_list_all): Likewise.
2256 (_IO_check_libio): Set user-visible handles to
2257 (struct _IO_FILE_plus *).
2258 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2259 to (struct _IO_FILE_plus *).
2261 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2262 whose high bound includes vtable to all functions that will use
2263 vtable. For streambufs, pass pointer whose bounds include struct
2265 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2266 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2267 * libio/iofopen.c (_IO_new_fopen): Likewise.
2268 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2269 * libio/iofopen64.c (_IO_fopen64): Likewise.
2270 * libio/iopopen.c (_IO_new_popen): Likewise.
2271 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2272 * libio/memstream.c (open_memstream): Likewise.
2273 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2274 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2275 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2276 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2277 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2278 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2279 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2280 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2281 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2282 * stdlib/strfmon.c (__strfmon_l): Likewise.
2283 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2284 (vfprintf): Qualify computed-goto targets as unbounded.
2286 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2288 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2289 thousands separator correctly.
2291 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2292 * stdio-common/vfwscanf.c: Likewise.
2294 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2296 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2297 count into signatures for most calls.
2299 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2301 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2302 the generic parser now.
2304 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2306 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2307 table entries are 32 bit on the ia64 (as specified by the ABI),
2308 not 64 bit as on the Alpha.
2310 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2311 change of objects to use 32 bit hash table indices (see above).
2313 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2315 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2316 prototype for abs().
2318 2000-06-28 Wolfram Gloger <wg@malloc.de>
2320 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2321 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2322 may have been reached.
2324 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2326 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2327 symbols in multi-character weights correctly.
2329 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2330 depending on whether the input string is empty or not.
2332 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2333 given state and not avoiding this by modifying a local object.
2334 * wcsmbs/wcrtomb.c: Likewise.
2336 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2337 object since some incomplete characters might be in there.
2339 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2340 sequences with first byte 0x8e correctly.
2342 * iconvdata/jis0208.h: Remove redundant test.
2344 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2346 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2347 Add it where it is needed now.
2349 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2350 the input charset into account when generating the hash table.
2351 (allocate_arrays): Correct setting default width. Not all empty slots
2352 in the table are filled, only those not covert explicitly by the
2353 locale description and in the charset.
2355 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2356 return values from the wctrans function.
2358 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2359 wide character version.
2360 For %C handling, test correct pointer variable for NULL.
2362 * wcsmbs/wctob.c: Handle WEOF special.
2364 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2366 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2367 always-true test to avoid warning.
2369 2000-06-27 Greg McGary <greg@mcgary.org>
2371 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2372 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2373 (symbol_version, default_symbol_version): Factor redundant
2374 definitions out of conditional.
2376 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2378 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2381 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2383 * include/libc-symbols.h (symbol_version): Add extra level of
2385 (default_symbol_version): Likewise.
2387 2000-06-26 Greg McGary <greg@mcgary.org>
2389 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2390 for BP return value & push implicit struct-return pointer to
2392 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2393 (SYSCALL_ERROR_HANDLER): Likewise.
2394 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2395 (SYSCALL_ERROR_HANDLER): Likewise.
2397 * Makeconfig: Add missing comment.
2398 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2399 BP-flavored startup object.
2400 ($(objpfx)b$(start-installed-name)): New rule.
2401 * include/libc-symbols.h (symbol_set_declare): Change type
2402 of `__start_##set' and `__stop_##set' to pointer-to-function.
2403 (symbol_set_declare): Change type of `set' to array of
2404 pointer-to-function.
2405 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2406 pointer-to-function.
2408 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2410 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2411 Remove clock_* and timer_* entries.
2412 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2413 arg-count with signatures.
2415 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2416 Check bounds of arguments.
2417 * sysdeps/i386/addmul_1.S: Likewise.
2418 * sysdeps/i386/lshift.S: Likewise.
2419 * sysdeps/i386/mul_1.S: Likewise.
2420 * sysdeps/i386/rshift.S: Likewise.
2421 * sysdeps/i386/sub_n.S: Likewise.
2422 * sysdeps/i386/submul_1.S: Likewise.
2423 * sysdeps/i386/i586/add_n.S: Likewise.
2424 * sysdeps/i386/i586/addmul_1.S: Likewise.
2425 * sysdeps/i386/i586/lshift.S: Likewise.
2426 * sysdeps/i386/i586/rshift.S: Likewise.
2427 * sysdeps/i386/i586/sub_n.S: Likewise.
2428 * sysdeps/i386/i686/add_n.S: Likewise.
2430 * sysdeps/i386/memchr.S: Likewise.
2431 * sysdeps/i386/memcmp.S: Likewise.
2432 * sysdeps/i386/rawmemchr.S: Likewise.
2433 * sysdeps/i386/i586/bzero.S: Likewise.
2434 * sysdeps/i386/i586/memcpy.S: Likewise.
2435 * sysdeps/i386/i586/mempcpy.S: Likewise.
2436 * sysdeps/i386/i586/memset.S: Likewise.
2437 * sysdeps/i386/i686/bzero.S: Likewise.
2438 * sysdeps/i386/i686/memcpy.S: Likewise.
2439 * sysdeps/i386/i686/mempcpy.S: Likewise.
2440 * sysdeps/i386/i686/memset.S: Likewise.
2442 * sysdeps/i386/stpcpy.S: Likewise.
2443 * sysdeps/i386/stpncpy.S: Likewise.
2444 * sysdeps/i386/strchr.S: Likewise.
2445 * sysdeps/i386/strchrnul.S: Likewise.
2446 * sysdeps/i386/strcspn.S: Likewise.
2447 * sysdeps/i386/strpbrk.S: Likewise.
2448 * sysdeps/i386/strrchr.S: Likewise.
2449 * sysdeps/i386/strspn.S: Likewise.
2450 * sysdeps/i386/strtok.S: Likewise.
2451 * sysdeps/i386/strtok_r.S: Likewise.
2452 * sysdeps/i386/i486/strcat.S: Likewise.
2453 * sysdeps/i386/i486/strlen.S: Likewise.
2454 * sysdeps/i386/i586/strchr.S: Likewise.
2455 * sysdeps/i386/i586/strcpy.S: Likewise.
2456 * sysdeps/i386/i586/strlen.S: Likewise.
2457 * sysdeps/i386/i686/strcmp.S: Likewise.
2458 * sysdeps/i386/i686/strtok.S: Likewise.
2459 * sysdeps/i386/i686/strtok_r.S: Likewise.
2461 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2462 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2463 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2464 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2465 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2467 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2468 * sysdeps/i386/mul_1.S: Likewise.
2469 * sysdeps/i386/submul_1.S: Likewise.
2470 * sysdeps/i386/i586/add_n.S: Likewise.
2471 * sysdeps/i386/i586/addmul_1.S: Likewise.
2472 * sysdeps/i386/i586/lshift.S: Likewise.
2473 * sysdeps/i386/i586/mul_1.S: Likewise.
2474 * sysdeps/i386/i586/rshift.S: Likewise.
2475 * sysdeps/i386/i586/sub_n.S: Likewise.
2476 * sysdeps/i386/i586/submul_1.S: Likewise.
2478 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2480 * rt/Makefile (librt-routines): Add clock_nanosleep.
2481 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2482 * sysdeps/generic/clock_nanosleep.c: New file.
2483 * sysdeps/unix/clock_nanosleep.c: New file.
2484 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2485 * time/time.h: Declare clock_nanosleep.
2487 2000-06-26 Greg McGary <greg@mcgary.org>
2489 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2490 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2491 (ALIGN): Cleanup surrounding conditionals.
2493 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2494 Call ENTER/LEAVE macros.
2495 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2496 * sysdeps/i386/submul_1.S: Likewise.
2498 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2499 syntax. Define & use symbolic argument stack offsets. Call
2501 * sysdeps/i386/i586/mul_1.S: Likewise.
2502 * sysdeps/i386/i586/submul_1.S: Likewise.
2504 2000-06-25 Greg McGary <greg@mcgary.org>
2506 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2509 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2511 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2512 * iconvdata/gen-8bit-gap.sh: Likewise.
2513 * iconvdata/gen-8bit.sh: Likewise.
2515 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2517 * locale/programs/ld-collate.c (collate_read): Don't actually read
2518 the copy locale if we are ignoring the content.
2520 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2523 * locale/programs/ld-collate.c: Correct handling of different
2525 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2526 as extra parameter from which to copy category information.
2528 (load_locale): Likewise.
2529 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2531 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2532 * locale/programs/locfile.h: Likewise.
2533 * locale/programs/locfile-kw.gperf: Add entry for script.
2534 * locale/programs/locfile-token.h: Add tok_script.
2536 * locale/programs/locale.c: Update copyright year.
2537 * locale/programs/localedef.c: Likewise.
2539 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2541 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2542 Jens Moeller <jens.moeller@waii.com>.
2544 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2546 * locale/programs/ld-name.c (name_finish): Add missing format
2547 specifier to test for name_fmt.
2549 * locale/programs/ld-address.c (iso639): Correct length of string
2551 (iso3166): Likewise.
2553 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2555 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2558 * elf/elf.h (NT_PRFPXREG): Define.
2560 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2562 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2563 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2565 2000-06-23 Andreas Schwab <schwab@suse.de>
2567 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2570 2000-06-23 Andreas Jaeger <aj@suse.de>
2572 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2574 * io/test-stat.c: Add copyright header, mention Maciej.
2576 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2577 SYS_mincore, SYS_madvise): Added.
2579 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2582 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2584 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2585 (CFLAGS-tst_putwc.c): New definition.
2586 * libio/tst_getwc.c: New file.
2587 * libio/tst_getwc.input: New file.
2588 * libio/tst_putwc.c: New file.
2590 * include/string.h: Add prototype for __strdup.
2592 2000-06-22 Greg McGary <greg@mcgary.org>
2594 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2595 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2598 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2600 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2602 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2604 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2606 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2608 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2609 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2611 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2613 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2614 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2616 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2617 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2618 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2619 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2620 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2621 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2622 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2623 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2624 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2625 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2626 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2627 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2628 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2629 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2632 2000-06-22 Andreas Jaeger <aj@suse.de>
2634 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2637 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2639 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2641 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2643 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2646 2000-06-21 Greg McGary <greg@mcgary.org>
2648 * Makerules (elide-routines.*, elide-bp-thunks):
2649 Define unconditionally.
2651 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2653 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2655 2000-06-21 Andreas Jaeger <aj@suse.de>
2657 * io/Makefile (tests): Add test-stat.
2658 (CFLAGS-test-stat.c): New.
2660 * io/test-stat.c: New file from Maciej W. Rozycki
2661 <macro@ds2.pg.gda.pl>.
2663 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2665 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2666 in __rlimit_resource to make them match the kernel order.
2667 rlim_t is always 64 bit, use __rlim64_t to declare it
2670 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2672 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2673 RLIM_INFINITY before defining it to avoid clash with kernel header
2675 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2677 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2679 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2681 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2683 2000-06-21 Andreas Jaeger <aj@suse.de>
2685 * stdio-common/temptest.c: Include <stdlib.h>.
2686 * stdio-common/tst-fileno.c: Likewise.
2687 * stdio-common/scanf4.c: Likewise.
2688 * stdio-common/scanf5.c: Likewise.
2689 * time/clocktest.c: Likewise.
2690 * posix/test-vfork.c: Likewise.
2691 * posix/globtest.c: Likewise.
2692 * io/test-utime.c: Likewise.
2693 * wctype/test_wcfuncs.c: Likewise.
2694 * crypt/cert.c: Likewise.
2696 * stdio-common/tst-printfsz.c: Include <string.h>.
2697 * libio/tst_swscanf.c: Likewise.
2698 * libio/tst_wscanf.c: Likewise.
2699 * posix/runtests.c: Likewise.
2700 * posix/tst-getaddrinfo.c: Likewise.
2701 * posix/wordexp-test.c: Likewise.
2702 * misc/tst-efgcvt.c: Likewise.
2704 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2705 * nss/test-netdb.c: Likewise.
2707 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2708 supported kernel for MIPS.
2710 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2711 * rt/aio_suspend.c: Likewise.
2713 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2715 * math/libm-test.inc: Include <string.h>.
2717 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2719 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2721 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2723 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2724 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2726 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2728 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2730 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2732 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2734 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2736 * locale/programs/ld-collate.c (insert_value): Now take string and
2737 length instead of struct token* parameter. Adjust use of token.
2738 (handle_ellipsis): Likewise.
2739 (collate_read): Allow <Uxxxx> names and transform them into names
2740 to be passed to insert_value and handle_ellipsis.
2742 * locale/programs/ld-ctype.c (uninames): New array with names of
2743 digits in <Uxxxxxxxx> format.
2744 (ctype_finish): Correct search for space character value. Likewise
2745 for default outdigits values.
2747 2000-06-20 Greg McGary <greg@mcgary.org>
2749 * Makerules (objects): Add BP thunks.
2751 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2753 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2754 in width definitions.
2756 2000-06-20 Andreas Jaeger <aj@suse.de>
2758 * sysdeps/mips/fpu/libm-test-ulps: New file.
2760 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2763 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2765 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2767 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2769 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2770 change in gconv_builtin.h.
2772 * malloc/Makefile: Change all references to memprof into memusage.
2773 * malloc/memprof.c: Rename to...
2774 * malloc/memusage.c: ...this. New file.
2775 * malloc/memprof.sh: Rename to...
2776 * malloc/memusage.sh: ...this. New file.
2777 * malloc/memprofstat.c: Rename to...
2778 * malloc/memusagestat.c: ...this. New file.
2779 * sysdeps/alpha/memprof.h: Rename to..
2780 * sysdeps/alpha/memusage.h: ...this. New file.
2781 * sysdeps/arm/memprof.h: Rename to..
2782 * sysdeps/arm/memusage.h: ...this. New file.
2783 * sysdeps/generic/memprof.h: Rename to..
2784 * sysdeps/generic/memusage.h: ...this. New file.
2785 * sysdeps/i386/memprof.h: Rename to..
2786 * sysdeps/i386/memusage.h: ...this. New file.
2787 * sysdeps/ia64/memprof.h: Rename to..
2788 * sysdeps/ia64/memusage.h: ...this. New file.
2789 * sysdeps/m68k/memprof.h: Rename to..
2790 * sysdeps/m68k/memusage.h: ...this. New file.
2791 * sysdeps/mips/memprof.h: Rename to..
2792 * sysdeps/mips/memusage.h: ...this. New file.
2793 * sysdeps/powerpc/memprof.h: Rename to..
2794 * sysdeps/powerpc/memusage.h: ...this. New file.
2795 * sysdeps/sparc/memprof.h: Rename to..
2796 * sysdeps/sparc/memusage.h: ...this. New file.
2797 * sysdeps/sh/memprof.h: Rename to..
2798 * sysdeps/sh/memusage.h: ...this. New file.
2800 * elf/sprof.c (print_version): Update year.
2802 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2803 table entry values. Use D_PTR.
2804 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2805 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2807 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2809 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2810 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2811 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2812 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2814 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2818 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2820 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2821 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2822 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2824 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2826 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2829 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2830 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2832 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2835 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2837 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2839 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2841 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2843 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2845 * iconv/gconv_int.h (strict gconv_module): Remove all members
2846 associated with regular expressions. Use a simple string as the
2848 * iconv/gconv_db.c: Remove code handling regular expressions.
2849 * iconv/gconv_conf.c: Likewise.
2850 * iconv/iconv_prog.c: Likewise.
2851 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2853 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2854 General namespace cleanup.
2855 (struct __gconv_trans_data): Add next field.
2856 (struct __gconv_step_data): Make __trans a pointer.
2857 * iconv/gconv_conf.c: Split out code to find gconv directories from
2858 __gconv_read_conf in new functions.
2859 * iconv/gconv_int.h: Define new data structure and declare new
2860 functions for handling of gconv directory list.
2861 * iconv/gconv_open.c: Allow more than one error handling step being
2862 used. Call function to load error handling module if it is none
2863 of the builtin transformations.
2864 * iconv/gconv_close.c: Add code to free transliteration data.
2865 * iconv/gconv_trans.c: Add functions to load and unload modules
2866 implementing transliteration etc.
2867 * iconv/skeleton.c: Call all context functions now that more than
2868 one module is allowed.
2869 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2870 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2871 where the full error handling using transliteration is needed.
2872 * iconvdata/8bit-gap.c: Likewise.
2873 * iconvdata/8bit-generic.c: Likewise.
2874 * iconvdata/ansi_x3.110.c: Likewise.
2875 * iconvdata/big5.c: Likewise.
2876 * iconvdata/big5hkscs.c: Likewise.
2877 * iconvdata/euc-cn.c: Likewise.
2878 * iconvdata/euc-jp.c: Likewise.
2879 * iconvdata/euc-kr.c: Likewise.
2880 * iconvdata/euc-tw.c: Likewise.
2881 * iconvdata/gbgbk.c: Likewise.
2882 * iconvdata/gbk.c: Likewise.
2883 * iconvdata/iso-2022-cn.c: Likewise.
2884 * iconvdata/iso-2022-jp.c: Likewise.
2885 * iconvdata/iso-2022-kr.c: Likewise.
2886 * iconvdata/iso646.c: Likewise.
2887 * iconvdata/iso8859-1.c: Likewise.
2888 * iconvdata/iso_6937-2.c: Likewise.
2889 * iconvdata/iso_6937.c: Likewise.
2890 * iconvdata/johab.c: Likewise.
2891 * iconvdata/sjis.c: Likewise.
2892 * iconvdata/t.61.c: Likewise.
2893 * iconvdata/uhc.c: Likewise.
2894 * iconvdata/unicode.c: Likewise.
2895 * iconvdata/utf-16.c: Likewise.
2896 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2897 structure correctly after last change.
2898 * wcsmbs/btowc.c: Likewise.
2899 * wcsmbs/mbrtowc.c: Likewise.
2900 * wcsmbs/mbsnrtowcs.c: Likewise.
2901 * wcsmbs/mbsrtowcs.c: Likewise.
2902 * wcsmbs/wcrtomb.c: Likewise.
2903 * wcsmbs/wcsnrtombs.c: Likewise.
2904 * wcsmbs/wcsrtombs.c: Likewise.
2905 * wcsmbs/wctob.c: Likewise.
2907 * localedata/Makefile: Set -Wno-format for some files since gcc does
2908 not know all the format specifiers.
2910 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2912 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2914 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2916 2000-06-18 Andreas Jaeger <aj@suse.de>
2918 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2919 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2921 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2923 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2925 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2927 * locale/programs/ld-ctype.c (ctype_output): Really write out
2928 mboutdigits information.
2929 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2930 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2931 * localedata/tests/trans.def: Add outdigit information.
2933 * localedata/tst-mbswcs3.c: Remove comment.
2935 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2936 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2937 * libio/tst_wprintf.c (main): Add test for I flag.
2939 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2940 * locale/langinfo.h: Add entries for translit_ignore information.
2941 * locale/categories.def: Add entries for new LC_CTYPE elements.
2942 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2943 pointer instead of "" where possible.
2944 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2945 * intl/Depend: Add localedata.
2946 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2947 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2949 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2951 * locale/langinfo.h: Add entries for default_missing information.
2952 * locale/C-ctype.c: Add initializers for new fields.
2953 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2955 * locale/categories.h: Add entries for all LC_CTYPE values.
2956 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2959 * localedata/tst-trans.c: Write out an error message if class is
2962 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2963 * iconv/gconv_open.c: Remove error handling specification from `from'
2965 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2966 new parameter to always enable transliteration.
2967 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2969 (struct locale_data): Add new members use_translit and options.
2970 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2971 character set name contained modifier TRANSLIT.
2972 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2974 (_nl_unload_locale): Free options string if necessary.
2975 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2976 the locale names suggested this.
2977 * locale/C-address.c: Add two new initialilzers to adjust data
2978 structure for new format.
2979 * locale/C-collate.c: Likewise.
2980 * locale/C-ctype.c: Likewise.
2981 * locale/C-identification.c: Likewise.
2982 * locale/C-measurement.c: Likewise.
2983 * locale/C-messages.c: Likewise.
2984 * locale/C-monetary.c: Likewise.
2985 * locale/C-name.c: Likewise.
2986 * locale/C-numeric.c: Likewise.
2987 * locale/C-paper.c: Likewise.
2988 * locale/C-telephone.c: Likewise.
2989 * locale/C-time.c: Likewise.
2991 * locale/setlocale.c: Add some more __builtin_expect.
2993 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2995 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2997 (__gconv_init_fct): Remove two parameters.
2998 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2999 gconv_transliterate. Remove two parameters.
3000 Change prototypes of builtin functions according to __gconv_fct change.
3001 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
3002 != NULL only during error handling. Stop in this case after the
3004 * iconv/gconv_trans.c: Replace with real implementation for
3005 __gconv_transliterate.
3006 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3007 * iconv/gconv.c: Change calls to downstream functions once again.
3008 Use NULL for the fifth parameter instead of pointer to output buffer.
3009 * libio/iofwide.c: Likewise.
3010 * wcsmbs/btowc.c: Likewise.
3011 * wcsmbs/mbrtowc.c: Likewise.
3012 * wcsmbs/mbsnrtowcs.c: Likewise.
3013 * wcsmbs/mbsrtowcs.c: Likewise.
3014 * wcsmbs/wcrtomb.c: Likewise.
3015 * wcsmbs/wcsnrtombs.c: Likewise.
3016 * wcsmbs/wcsrtombs.c: Likewise.
3017 * wcsmbs/wctob.c: Likewise.
3018 * iconv/gconv_simple.c: Remove two parameters from error handling
3020 * iconvdata/8bit-gap.c: Likewise.
3021 * iconvdata/8bit-generic.c: Likewise.
3022 * iconvdata/ansi_x3.110.c: Likewise.
3023 * iconvdata/big5.c: Likewise.
3024 * iconvdata/big5hkscs.c: Likewise.
3025 * iconvdata/euc-cn.c: Likewise.
3026 * iconvdata/euc-jp.c: Likewise.
3027 * iconvdata/euc-kr.c: Likewise.
3028 * iconvdata/euc-tw.c: Likewise.
3029 * iconvdata/gbgbk.c: Likewise.
3030 * iconvdata/gbk.c: Likewise.
3031 * iconvdata/iso-2022-cn.c: Likewise.
3032 * iconvdata/iso-2022-jp.c: Likewise.
3033 * iconvdata/iso-2022-kr.c: Likewise.
3034 * iconvdata/iso646.c: Likewise.
3035 * iconvdata/iso8859-1.c: Likewise.
3036 * iconvdata/iso_6937-2.c: Likewise.
3037 * iconvdata/iso_6937.c: Likewise.
3038 * iconvdata/johab.c: Likewise.
3039 * iconvdata/sjis.c: Likewise.
3040 * iconvdata/t.61.c: Likewise.
3041 * iconvdata/uhc.c: Likewise.
3042 * iconvdata/unicode.c: Likewise.
3043 * iconvdata/utf-16.c: Likewise.
3045 2000-06-15 Greg McGary <greg@mcgary.org>
3047 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3048 of callnum assignment. Tolerate callnum expressions containing
3051 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3053 * login/Makefile (utmpd): Remove rule to build utmpd.
3055 * csu/Versions: Move libgcc frame handling functions from here...
3056 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3057 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3058 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3059 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3060 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3061 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3063 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
3065 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3067 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3069 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3071 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3073 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3074 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3075 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3076 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3078 2000-06-14 Jakub Jelinek <jakub@redhat.com>
3080 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3081 defined, terminate quotes and read them after the comment char.
3082 * configure.in (HAVE_SECTION_QUOTES): Test whether
3083 __attribute__((section ("x"))) puts quotes around x or not.
3084 * config.h.in (HAVE_SECTION_QUOTES): Add.
3085 * configure: Rebuilt.
3087 2000-06-14 Andreas Jaeger <aj@suse.de>
3089 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3090 depending on the configure option --sysconfdir.
3091 Closes PR libc/1762.
3092 Patch by Andreas Schwab <schwab@suse.de>.
3094 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3096 Reported by Jim Pick <jim@jimpick.com>.
3098 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3100 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3101 crashing the application. Emit some simple error message.
3102 Reported by mju@panasas.com [PR libc/1769].
3104 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3106 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
3108 * crypt/Makefile (distribute): Add md5.h.
3110 * Makefile (distribute): Add include/shlib-compat.h.
3112 * Make-dist: Search for tests also in sysdeps hierachy.
3114 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
3115 ufc.c, speeds.c, README.ufc-crypt, and Banner.
3117 * sysdeps/sparc/Subdirs: New file.
3119 * locale/Makefile (distribute): Add weightwc.h and
3120 programs/localedef.h.
3122 * time/Makefile (distribute): Add datemsk.
3124 * sysdeps/ia64/Dist: Add softpipe.h.
3126 * sysdeps/unix/sysv/aix/Dist: New file.
3128 * posix/setpgrp.c: Moved to...
3129 * sysdeps/generic/setpgrp.c: ...here. New file.
3130 * io/mknod.c: Moved to...
3131 * sysdeps/generic/mknod.c: ...here. New file.
3133 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
3135 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
3137 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
3139 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
3140 gprsave0.S, gprrest1.S, and gprrest0.S.
3142 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
3144 * posix/Makefile (routines): Add spawnattr_getsigmask,
3145 spawnattr_getschedpolicy, spawnattr_getschedparam,
3146 spawnattr_setsigmask, spawnattr_setschedpolicy, and
3147 spawnattr_setschedparam.
3148 * posix/Versions: Add posix_spawnattr_getschedpolicy,
3149 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
3150 posix_spawnattr_setschedparam.
3152 * posix/spawnattr_setschedparam.c: Fix typo.
3154 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
3157 * login/programs/utmpd.c: Removed.
3158 * login/programs/utmpd.h: Removed.
3159 * login/programs/utmpd-private.h: Removed.
3161 * Makefile (distribute): Add include/db_185.h and include/db.h.
3163 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3166 * elf/Makefile (distribute): Add missing files.
3168 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3169 * elf/eval.c: Moved to...
3170 * dlfcn/eval.c: ...here. New file.
3172 * Makefile (distribute): Also distribute ChangeLog.1?.
3174 * Make-dist (+tsrcs): Remove .args handling here as well.
3176 * rt/Makefile (tests): Add tst-timer.
3177 * sysdeps/generic/tst-timer.c: New file.
3179 * Makerules (sources): Don't add BP sources here.
3181 * login/Makefile (distribute): Remove xtmp.h.
3183 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3184 is true. Reported by Bruno Haible <haible@ilog.fr>.
3186 2000-06-13 Andreas Jaeger <aj@suse.de>
3188 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3189 Patch by Ralf Baechle <ralf@gnu.org>.
3191 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3193 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3194 for mincore syscall.
3196 * misc/sys/cdefs.h: Define __bounded and __unbounded if
3197 __BOUNDED_POINTERS__ is not defined.
3199 2000-06-07 Greg McGary <greg@mcgary.org>
3201 * sysdeps/generic/bp-sym.h: New file.
3202 * sysdeps/generic/bp-start.h: New file.
3203 * sysdeps/i386/elf/start.S: Designate BP symbols.
3204 * sysdeps/generic/libc-start.c: Wrap bounds around
3205 argv & envp and each of their string members.
3207 2000-06-07 Greg McGary <greg@mcgary.org>
3209 * sysdeps/unix/make-syscalls.sh: Add comments to
3210 output that aid debugging & comprehension.
3211 Map simple syscall signatures to number of args.
3212 Generate BP syscall thunk definitions.
3213 * sysdeps/generic/bp-thunks.h: New file.
3214 * sysdeps/unix/syscalls.list: Replace arg-count with
3215 simple return+arg signature.
3216 * sysdeps/unix/common/syscalls.list: Likewise.
3217 * sysdeps/unix/inet/syscalls.list: Likewise.
3218 * sysdeps/unix/mman/syscalls.list: Likewise.
3219 * sysdeps/unix/sysv/syscalls.list: Likewise.
3220 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3223 2000-06-07 Greg McGary <greg@mcgary.org>
3225 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3226 for all files *.[cS].
3227 (CFLAGS-.ob): Don't optimize sibling calls.
3228 (bppfx): New variable.
3229 * Makerules (elide-bp-thunks): New variable.
3230 (elide-routines.*): Elide BP-* files for all but *.ob.
3231 (sources): Include bp-thunks.
3233 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3235 * iconv/gconv_simple.c: Remove unnecessary prototype.
3237 * iconv/gconv_trans.c: Pretty print.
3239 * elf/elf.h (R_SH_NUM): Got accidently dropped.
3241 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3242 minimal kernel versions. Add information about IA-64 kernel.
3244 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3245 specific minimal supported kernel versions to be specified.
3247 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3248 step data structure.
3249 * wcsmbs/btowc.c: Likewise.
3250 * wcsmbs/mbrtowc.c: Likewise.
3251 * wcsmbs/mbsnrtowcs.c: Likewise.
3252 * wcsmbs/mbsrtowcs.c: Likewise.
3253 * wcsmbs/wcrtomb.c: Likewise.
3254 * wcsmbs/wcsnrtombs.c: Likewise.
3255 * wcsmbs/wcsrtombs.c: Likewise.
3256 * wcsmbs/wctob.c: Likewise.
3258 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3259 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3261 * shlib-versions: Earliest backward compatible version for SH is 2.2.
3263 * misc/sys/cdefs.h: Remove one more __P.
3265 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3268 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3269 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3270 * sysdeps/sh/bits/setjmp.h: ...here. New file.
3272 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3273 Yutaka Niibe <gniibe@chroot.org>
3275 * configure.in: Add machine sh3, sh4.
3276 * elf/elf.h: Add SH specific declarations of relocations.
3277 * shlib-versions: Add sh*-*-linux* cases.
3279 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3281 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3282 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
3283 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3284 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3285 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
3286 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3288 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3289 instead of KERNEL_MATH_EMULATION.
3290 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3291 KERNEL_MATH_EMULATION.
3293 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3294 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3295 * sysdeps/sh/dl-machine.h: ...here. New file.
3296 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3297 and include generic SH version.
3298 * sysdeps/sh/sh3/bits/endian.h: Move to...
3299 * sysdeps/sh/bits/endian.h: ...here. New file.
3300 * sysdeps/sh/sh4/bits/endian.h: Removed.
3301 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3302 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3303 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3305 * include/libc-symbols.h (link_warning): Work around a change in
3306 GAS which warns about changing section attributes.
3307 Proposed by Nick Clifton <nickc@redhat.com>.
3309 2000-06-12 H.J. Lu <hjl@gnu.org>
3311 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3313 2000-06-11 H.J. Lu <hjl@gnu.org>
3315 * sysdeps/i386/fpu/Versions: New file.
3317 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3319 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3321 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3324 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3326 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3327 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3328 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3330 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3331 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3332 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3334 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3335 Yutaka Niibe <gniibe@chroot.org>
3337 * sysdeps/sh/Dist: New file.
3338 * sysdeps/sh/Implies: New file.
3339 * sysdeps/sh/elf/initfini.c: New file.
3340 * sysdeps/sh/gmp-mparam.h: New file.
3341 * sysdeps/sh/init-first.c: New file.
3342 * sysdeps/sh/machine-gmon.h: New file.
3343 * sysdeps/sh/memcpy.S: New file.
3344 * sysdeps/sh/memprof.h: New file.
3345 * sysdeps/sh/memset.S: New file.
3346 * sysdeps/sh/sh3/__longjmp.S: New file.
3347 * sysdeps/sh/sh3/bits/endian.h: New file.
3348 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3349 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3350 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3351 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3352 * sysdeps/sh/sh3/dl-machine.h: New file.
3353 * sysdeps/sh/sh3/setjmp.S: New file.
3354 * sysdeps/sh/sh4/__longjmp.S: New file.
3355 * sysdeps/sh/sh4/bits/endian.h: New file.
3356 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3357 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3358 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3359 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3360 * sysdeps/sh/sh4/dl-machine.h: New file.
3361 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3362 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3363 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3364 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3365 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3366 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3367 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3368 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3369 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3370 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3371 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3372 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3373 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3374 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3375 * sysdeps/sh/sh4/setjmp.S: New file.
3376 * sysdeps/sh/elf/start.S: New file.
3377 * sysdeps/sh/sys/ucontext.h: New file.
3378 * sysdeps/sh/strlen.S: New file.
3379 * sysdeps/sh/sysdep.h: New file.
3380 * sysdeps/unix/sh/sysdep.S: New file.
3381 * sysdeps/unix/sh/sysdep.h: New file.
3382 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3383 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3384 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3385 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3386 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3387 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3388 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3389 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3390 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3391 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3392 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3393 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3394 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3395 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3396 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3397 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3398 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3399 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3400 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3401 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3402 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3403 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3404 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3405 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3406 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3407 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3408 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3409 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3410 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3411 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3412 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3413 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3414 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3415 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3416 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3417 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3418 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3419 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3420 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3421 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3422 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3423 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3424 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3425 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3426 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3427 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3428 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3429 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3430 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3431 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3433 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3435 * Rules (%.out): Define GCONV_PATH in the environment.
3436 * assert/Depend: New file.
3437 * iconvdata/Depend: New file.
3438 * intl/Depend: New file.
3439 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3440 * intl/tst-gettext.sh: Likewise.
3441 * iconv/Makefile (routines): Add gconv_trans.
3442 * iconv/gconv_trans.c: New file.
3443 * iconv/gconv.h (struct __gconv_trans_data): New type.
3444 (__gconv_fct): New parameter with starting position in output buffer.
3445 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3446 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3447 (struct __gconv_step): Add new member __trans.
3448 * iconv/gconv_int.h: Pretty print prototypes.
3449 (gconv_transliterate): New prototype.
3450 (__BUILTIN_TRANS): Update for new conversion function interface.
3451 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3452 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3453 in names, find appropriate function, and install in the conversion
3454 steps it can be used.
3455 * iconv/skeleton.c: Add additional parameter for beginning of output
3456 buffer. Change calls of downstream functions.
3457 * iconv/loop.c: Change loop function interface completely. Pass in
3458 step and step_data structure. Remove optimization for BODY with
3459 NEED_LENGTH_TEST == 0.
3460 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3461 appropriate error handling code to use transliteration steps. Remove
3462 optimization for BODY with NEED_LENGTH_TEST == 0.
3463 * iconvdata/8bit-gap.c: Likewise.
3464 * iconvdata/8bit-generic.c: Likewise.
3465 * iconvdata/ansi_x3.110.c: Likewise.
3466 * iconvdata/big5.c: Likewise.
3467 * iconvdata/big5hkscs.c: Likewise.
3468 * iconvdata/euc-cn.c: Likewise.
3469 * iconvdata/euc-jp.c: Likewise.
3470 * iconvdata/euc-kr.c: Likewise.
3471 * iconvdata/euc-tw.c: Likewise.
3472 * iconvdata/gbgbk.c: Likewise.
3473 * iconvdata/gbk.c: Likewise.
3474 * iconvdata/iso-2022-cn.c: Likewise.
3475 * iconvdata/iso-2022-jp.c: Likewise.
3476 * iconvdata/iso-2022-kr.c: Likewise.
3477 * iconvdata/iso646.c: Likewise.
3478 * iconvdata/iso8859-1.c: Likewise.
3479 * iconvdata/iso_6937-2.c: Likewise.
3480 * iconvdata/iso_6937.c: Likewise.
3481 * iconvdata/johab.c: Likewise.
3482 * iconvdata/sjis.c: Likewise.
3483 * iconvdata/t.61.c: Likewise.
3484 * iconvdata/uhc.c: Likewise.
3485 * iconvdata/unicode.c: Likewise.
3486 * iconvdata/utf-16.c: Likewise.
3487 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3489 * wcsmbs/btowc.c: Likewise.
3490 * wcsmbs/mbrtowc.c: Likewise.
3491 * wcsmbs/mbsnrtowcs.c: Likewise.
3492 * wcsmbs/mbsrtowcs.c: Likewise.
3493 * wcsmbs/wcrtomb.c: Likewise.
3494 * wcsmbs/wcsnrtombs.c: Likewise.
3495 * wcsmbs/wcsrtombs.c: Likewise.
3496 * wcsmbs/wctob.c: Likewise.
3498 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3500 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3501 other header files. Mention about 128-byte cache line sizes.
3502 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3503 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3504 for current calling sequence.
3505 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3507 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3508 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3510 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3511 and setrlimit syscalls for backwards compatibility.
3513 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3515 * iconv/skeleton.c: Rename converted written to correcter name
3517 * iconv/gconv.c: Rename converted variable to correcter name
3519 * iconv/gconv_int.h: Likewise.
3520 * iconv/gconv_simple.c: Likewise.
3521 * iconv/iconv.c: Likewise.
3522 * iconv/loop.c: Likewise.
3523 * iconvdata/8bit-gap.c: Likewise.
3524 * iconvdata/8bit-generic.c: Likewise.
3525 * iconvdata/ansi_x3.110.c: Likewise.
3526 * iconvdata/big5.c: Likewise.
3527 * iconvdata/big5hkscs.c: Likewise.
3528 * iconvdata/euc-cn.c: Likewise.
3529 * iconvdata/euc-jp.c: Likewise.
3530 * iconvdata/euc-kr.c: Likewise.
3531 * iconvdata/gbgbk.c: Likewise.
3532 * iconvdata/gbk.c: Likewise.
3533 * iconvdata/iso-2022-cn.c: Likewise.
3534 * iconvdata/iso-2022-jp.c: Likewise.
3535 * iconvdata/iso-2022-kr.c: Likewise.
3536 * iconvdata/iso646.c: Likewise.
3537 * iconvdata/iso8859-1.c: Likewise.
3538 * iconvdata/iso_6937-2.c: Likewise.
3539 * iconvdata/iso_6937.c: Likewise.
3540 * iconvdata/johab.c: Likewise.
3541 * iconvdata/sjis.c: Likewise.
3542 * iconvdata/t.61.c: Likewise.
3543 * iconvdata/uhc.c: Likewise.
3544 * iconvdata/unicode.c: Likewise.
3545 * iconvdata/utf-16.c: Likewise.
3547 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3548 __cmsg_data field with __extension__.
3550 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3552 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3554 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3556 * iconv/gconv_simple.c: Fix various small bugs in several
3559 * iconv/loop.c: Fix comment.
3561 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3563 * elf/link.h: Remove libc internal declarations.
3564 * include/link.h: Move them here.
3566 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3568 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3569 Patch by Dan Pop <Dan.Pop@cern.ch>.
3571 Rewrite error message handling.
3572 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3574 * elf/dl-error (struct catch): Add objname member.
3575 (_dl_signal_error): Take new parameter with object name. When
3576 passing message on simply store object name and duplicate error
3578 (_dl_catch_error): Take new parameter. Store object name in the
3580 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3581 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3582 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3583 (dlerror): Add objname to asprintf() parameters.
3584 (_dl_error_run): Pass new parameter to _dl_catch_error.
3585 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3586 * elf/dl-open.c (_dl_open): Likewise.
3587 * elf/rtld.c (dl_main): Likewise.
3588 * elf/dl-close.c: Mark error messages with N_().
3589 * elf/dl-deps.c: Likewise.
3590 * elf/dl-error.c: Likewise.
3591 * elf/dl-load.c: Likewise.
3592 * elf/dl-open.c: Likewise.
3593 * elf/dl-reloc.c: Likewise.
3594 * elf/dl-support.c: Likewise.
3595 * elf/dl-sym.c: Likewise.
3596 * elf/dl-version.c: Likewise.
3597 * elf/dl-lookup.c: Add comments about problems with error message
3599 * elf/dl-reloc.c: Likewise.
3600 * elf/dl-version.c: Likewise.
3602 2000-06-09 H.J. Lu <hjl@gnu.org>
3604 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3607 * dlfcn/Makefile (distribute): Add failtestmod.c.
3608 (tests): Add failtest.
3609 Add rules to build and run failtest.
3610 * dlfcn/failtest.c: New file.
3611 * dlfcn/failtestmod.c: New file.
3613 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3615 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3616 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3617 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3618 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3619 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3621 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3623 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3624 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3626 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3627 Ulrich Drepper <drepper@redhat.com>
3629 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3630 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3631 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3632 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3633 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3634 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3636 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3638 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3639 to find correct mount point despite wrong information from the
3642 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3644 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3645 the address of a symbol so function pointers are handled properly.
3647 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3649 * sysdeps/i386/Dist: Add bp-asm.h.
3651 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3652 defaultdir variable instead of "/var/shm" everywhere.
3653 (defaultdir): Change to /dev/shm/.
3655 2000-06-08 Greg McGary <greg@mcgary.org>
3657 * sysdeps/i386/bp-asm.h: New file.
3658 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3659 offsets. Add ENTER/LEAVE macros for optionally maintaining
3660 frame-pointer chain when debugging.
3661 * sysdeps/i386/add_n.S: Likewise.
3662 * sysdeps/i386/addmul_1.S: Likewise.
3663 * sysdeps/i386/lshift.S: Likewise.
3664 * sysdeps/i386/memchr.S: Likewise.
3665 * sysdeps/i386/memcmp.S: Likewise.
3666 * sysdeps/i386/mul_1.S: Likewise.
3667 * sysdeps/i386/rawmemchr.S: Likewise.
3668 * sysdeps/i386/rshift.S: Likewise.
3669 * sysdeps/i386/stpcpy.S: Likewise.
3670 * sysdeps/i386/stpncpy.S: Likewise.
3671 * sysdeps/i386/strchr.S: Likewise.
3672 * sysdeps/i386/strchrnul.S: Likewise.
3673 * sysdeps/i386/strcspn.S: Likewise.
3674 * sysdeps/i386/strpbrk.S: Likewise.
3675 * sysdeps/i386/strrchr.S: Likewise.
3676 * sysdeps/i386/strspn.S: Likewise.
3677 * sysdeps/i386/strtok.S: Likewise.
3678 * sysdeps/i386/sub_n.S: Likewise.
3679 * sysdeps/i386/submul_1.S: Likewise.
3680 * sysdeps/i386/elf/setjmp.S: Likewise.
3681 * sysdeps/i386/i486/strcat.S: Likewise.
3682 * sysdeps/i386/i486/strlen.S: Likewise.
3683 * sysdeps/i386/i586/add_n.S: Likewise.
3684 * sysdeps/i386/i586/lshift.S: Likewise.
3685 * sysdeps/i386/i586/memcpy.S: Likewise.
3686 * sysdeps/i386/i586/memset.S: Likewise.
3687 * sysdeps/i386/i586/rshift.S: Likewise.
3688 * sysdeps/i386/i586/strchr.S: Likewise.
3689 * sysdeps/i386/i586/strcpy.S: Likewise.
3690 * sysdeps/i386/i586/strlen.S: Likewise.
3691 * sysdeps/i386/i586/sub_n.S: Likewise.
3692 * sysdeps/i386/i686/add_n.S: Likewise.
3693 * sysdeps/i386/i686/memcpy.S: Likewise.
3694 * sysdeps/i386/i686/mempcpy.S: Likewise.
3695 * sysdeps/i386/i686/memset.S: Likewise.
3696 * sysdeps/i386/i686/strcmp.S: Likewise.
3698 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3700 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3702 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3703 256 and don't use OPEN_MAX.
3705 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3706 use it instead of LINK_MAX.
3707 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3709 2000-06-08 Andreas Jaeger <aj@suse.de>
3711 * libio/genops.c (_IO_list_lock): Only compile body if we're
3713 (_IO_list_unlock): Likewise.
3714 (_IO_list_resetlock): Likewise.
3716 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3718 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3719 unless user defined it.
3721 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3722 if not defined by the user.
3724 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3725 * libio/iofwrite.c (_IO_fwrite): Likewise.
3727 * time/time.h: Add missing __THROW for clock_getcpuclockid
3730 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3731 * include/elf.h: Include also <dl-dtprocnum.h>.
3732 * elf/dl-deps.c: Likewise.
3733 * elf/dl-lookup.c: Likewise.
3734 * elf/dl-runtime.c: Likewise.
3735 * elf/dl-version.c: Likewise.
3736 * elf/do-rel.h: Likewise.
3737 * elf/dynamic-link.h: Likewise.
3738 * elf/link.h: Likewise.
3739 * elf/rtld.c: Likewise.
3740 * sysdeps/generic/dl-dtprocnum.h: New file.
3741 * sysdeps/ia64/dl-dtprocnum.h: New file.
3742 * sysdeps/mips/dl-dtprocnum.h: New file.
3743 * sysdeps/sparc/dl-dtprocnum.h: New file.
3745 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3747 * elf/do-lookup.h: Add some __builtin_expect.
3749 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3751 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3752 (_dl_dynamic_weak): New variable.
3753 * elf/dl-support.c: Likewise.
3754 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3755 * elf/do-lookup.h: If we find a weak definition treat it like a
3756 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3757 case treat it like before.
3759 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3761 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3763 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3764 using l_map_start and l_map_end.
3766 * elf/dl-version.c: Add __builtin_expect in many places.
3768 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3771 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3773 Lock for stdio stream list becomes global, for use in LinuxThreads.
3775 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3776 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3777 _IO_list_resetlock): New interface for iterating global list of
3778 streams without accessing the _IO_list_all global variable,
3779 and for manipulating the lock which protects this list.
3780 * libio/libioP.h: Likewise.
3781 * libio/Version: Add entries for the new functions.
3783 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3784 pointer to _IO_FILE.
3786 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3788 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3789 BIT() must actually be BITw().
3791 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3793 * locale/programs/charmap.c: Allow string arguments for
3794 code_set_name and repertoiremap.
3796 2000-06-07 Andreas Jaeger <aj@suse.de>
3798 * elf/Makefile: Build ldconfig only when building shared libraries.
3800 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3802 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3804 (fdimf, __fdim, fdim): Likewise.
3806 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3808 * locale/findlocale.c: Add __builtin_expect in many places.
3809 * locale/loadlocale.c: Likewise.
3811 2000-06-06 Greg McGary <greg@mcgary.org>
3813 * sysdeps/mips/elf/start.S: Trim redundant code.
3815 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3816 Use C comments throughout. Line up operands column with tabs.
3817 * sysdeps/powerpc/strchr.S: Likewise.
3818 * sysdeps/powerpc/strcmp.S: Likewise.
3819 * sysdeps/powerpc/strcpy.S: Likewise.
3820 * sysdeps/powerpc/strlen.S: Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3823 Get low part of &__curbrk with @l.
3825 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3827 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3828 * iconvdata/unicode.c: Likewise.
3829 * iconvdata/uhc.c: Likewise.
3830 * iconvdata/t.61.c: Likewise.
3831 * iconvdata/sjis.c: Likewise.
3832 * iconvdata/johab.c: Likewise.
3833 * iconvdata/iso_6937.c: Likewise.
3834 * iconvdata/iso_6937-2.c: Likewise.
3835 * iconvdata/iso8859-1.c: Likewise.
3836 * iconvdata/iso646.c: Likewise.
3837 * iconvdata/iso-2022-kr.c: Likewise.
3838 * iconvdata/iso-2022-jp.c: Likewise.
3839 * iconvdata/iso-2022-cn.c: Likewise.
3840 * iconvdata/gbgbk.c: Likewise.
3841 * iconvdata/gbk.c: Likewise.
3842 * iconvdata/euc-kr.c: Likewise.
3843 * iconvdata/euc-jp.c: Likewise.
3844 * iconvdata/euc-cn.c: Likewise.
3846 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3848 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3849 * iconvdata/big5.c: Likewise.
3850 * iconvdata/ansi_x3.110.c: Likewise.
3851 * iconvdata/8bit-generic.c: Likewise.
3852 * iconvdata/8bit-gap.c: Likewise.
3853 * iconv/loop.c: Likewise.
3854 * iconv/gconv_db.c: Likewise.
3855 * iconv/gconv_dl.c: Likewise.
3856 * iconv/gconv_simple.c: Likewise.
3857 * iconv/skeleton.c: Likewise.
3859 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3860 (struct __gconv_step_data): Rename __is_last to __flags.
3861 * iconv/gconv_close.c: Change all uses of __is_last.
3862 * iconv/skeleton.c: Likewise.
3863 * iconvdata/iso-2022-cn.c: Likewise.
3864 * iconvdata/iso-2022-jp.c: Likewise.
3865 * iconvdata/iso-2022-kr.c: Likewise.
3866 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3867 Recognize IGNORE error handling, set flag, and remove from name.
3868 * iconv/loop.c (ignore_errors_p): Define.
3869 Add flags parameter to both functions.
3870 * iconv/skeleton.c: Pass flags to all conversion functions.
3871 * iconv/gconv_simple.c: Add flags parameter to all functions.
3872 Don't return error for invald error if ignore flag is set.
3873 (ucs4_internal_loop_single): Add missing pointer increment.
3874 (internal_ucs4le_loop_single): Likewise.
3875 * iconv/iconv_prog.c: Implement handling of -c parameter.
3876 * iconvdata/8bit-gap.c: Don't return error for invald error if
3878 * iconvdata/8bit-generic.c: Likewise.
3879 * iconvdata/ansi_x3.110.c: Likewise.
3880 * iconvdata/big5.c: Likewise.
3881 * iconvdata/big5hkscs.c: Likewise.
3882 * iconvdata/euc-cn.c: Likewise.
3883 * iconvdata/euc-jp.c: Likewise.
3884 * iconvdata/euc-kr.c: Likewise.
3885 * iconvdata/gbgbk.c: Likewise.
3886 * iconvdata/gbk.c: Likewise.
3887 * iconvdata/iso-2022-cn.c: Likewise.
3888 * iconvdata/iso-2022-jp.c: Likewise.
3889 * iconvdata/iso-2022-kr.c: Likewise.
3890 * iconvdata/iso646.c: Likewise.
3891 * iconvdata/iso8859-1.c: Likewise.
3892 * iconvdata/iso_6937-2.c: Likewise.
3893 * iconvdata/iso_6937.c: Likewise.
3894 * iconvdata/johab.c: Likewise.
3895 * iconvdata/sjis.c: Likewise.
3896 * iconvdata/t.61.c: Likewise.
3897 * iconvdata/uhc.c: Likewise.
3898 * iconvdata/unicode.c: Likewise.
3899 * iconvdata/utf-16.c: Likewise.
3900 * libio/fileops.c: Likewise.
3901 * libio/iofwide.c: Likewise.
3902 * wcsmbs/btowc.c: Likewise.
3903 * wcsmbs/mbrtowc.c: Likewise.
3904 * wcsmbs/mbsnrtowcs.c: Likewise.
3905 * wcsmbs/mbsrtowcs.c: Likewise.
3906 * wcsmbs/wcrtomb.c: Likewise.
3907 * wcsmbs/wcsnrtombs.c: Likewise.
3908 * wcsmbs/wcsrtombs.c: Likewise.
3909 * wcsmbs/wctob.c: Likewise.
3911 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3914 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3916 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3917 counter for the object we are releasing, just decrement it.
3918 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3920 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3922 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3925 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3927 * iconvdata/big5hkscs.c: New file.
3928 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3930 * iconvdata/gconv-modules: Add entry for new module.
3931 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3932 (distribute): Add big5hkscs.c.
3934 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3936 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3937 inlines to match prototypes in mathcalls.h.
3938 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3939 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3940 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3941 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3943 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3945 * elf/elf.h (SHT_SUNW_move): Define.
3947 * elf/elf.h: Add more Solaris compatiblity definitions.
3949 2000-06-03 Andreas Jaeger <aj@suse.de>
3951 * sysdeps/powerpc/dl-start.S: Close open comment.
3953 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3955 * inet/Versions: Fix typo in rresvport_af export.
3957 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3959 * math/tgmath.h: Pretty print.
3961 2000-06-02 Andreas Jaeger <aj@suse.de>
3963 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3964 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3966 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3968 * elf/rtld.c (process_envvars): Test for = after variable name.
3970 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3972 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3973 have extra call to __gmon_start__, use the pointer we already have.
3975 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3978 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3979 binutils. gas now emits a jump through the PLT instead of a
3980 relative jump if the jump target is an exported symbol.
3982 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3984 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3986 2000-05-31 Andreas Jaeger <aj@suse.de>
3988 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3991 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3992 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3994 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3996 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3998 2000-05-30 Ulrich Drepper <drepper@redhat.com>
4000 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4002 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4003 * locale/localeconv.c: Make function versioned (with same definition).
4005 * elf/Makefile (modules-names): Strip before using it.
4007 2000-05-30 Andreas Jaeger <aj@suse.de>
4009 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4010 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4011 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4012 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4013 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4014 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4016 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4018 * Makefile: Add GNU make magic.
4020 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4022 * inet/rcmd.c: Remove __P. Remove unused variables.
4023 (iruserfopen): Make first parameter const.
4024 (ruserok_sa): Return result of ruserok2_sa.
4025 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4026 * inet/rexec.c: Remove unused variables. Other small cleanups.
4027 * inet/ruserpass.c: Remove __P. Remove unused variables.
4028 (ruserpass): Check results of memory allocation.
4029 * include/netdb.h: Add prototype for ruserpass.
4031 2000-05-29 Andreas Jaeger <aj@suse.de>
4033 * elf/readlib.c (interpreters): Use LD_SO since this is supported
4036 2000-05-29 Jakub Jelinek <jakub@redhat.com>
4038 * inet/rcmd.c (rresvport_af): Use correct port number.
4040 2000-05-26 Andreas Schwab <schwab@suse.de>
4042 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4043 entries in all-sonames.
4044 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4045 preserving the old name if different for compatibility.
4047 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4049 * posix/Makefile (tests): Add tst-spawn.
4050 (tst-spawn-ARGS): New variable.
4051 * posix/tst-spawn.c: New file.
4053 * posix/spawn_faction_addclose.c: Correctly account for new entry.
4054 * posix/spawn_faction_adddup2.c: Likewise.
4055 * posix/spawn_faction_addopen.c: Likewise.
4056 * posix/spawni.c: Correctly test for success of dup2 calls.
4058 * posix/tst-preadwrite.c: Check success of malloc call.
4060 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4062 * posix/Makefile (tests): Add tst-exec.
4063 (tst-exec-ARGS): New variable.
4064 * posix/tst-exec.c: New file.
4066 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4068 2000-05-04 Andreas Jaeger <aj@suse.de>
4070 * string/string.h: Remove __strdup prototype, it's not needed in
4073 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4075 * posix/Makefile (tests): Add tst-fork.
4076 * posix/tst-fork.c: New file.
4078 * resolv/inet_pton.c: Loose __P.
4080 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4082 * libio/libioP.h (_IO_CHECK_WIDE): Define.
4083 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4084 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4085 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4086 _IO_CHECK_WIDE fails.
4088 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4090 * po/da.po: New file.
4092 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4093 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4095 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4096 (Other iconv Implementations): Fix typo.
4097 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4099 2000-05-27 Andreas Jaeger <aj@suse.de>
4101 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
4103 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4104 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4105 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4106 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4107 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
4108 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
4110 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
4111 endianness to decide how to pass arguments.
4112 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4114 * elf/vismain.c: Use test-skeleton interface.
4115 (TEST_FUNCTION): New macro.
4116 (do_test): Renamed from main.
4118 2000-05-27 Ulrich Drepper <drepper@redhat.com>
4120 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
4121 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
4123 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
4124 handling of AI_V4MAPPED flag.
4126 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
4127 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
4128 perform lookup for T_A type and tell getanswer_r to convert the
4129 result with new argument.
4130 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
4131 Don't convert addresses from IPv4 to IPv6 here.
4132 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
4133 IPv6 is wanted. Allow qtype and type from reply to disagree if
4134 IPv4 mapping has to be done. Perform mappings if required by the
4135 caller and not if RES_USE_INET6 bit in _res.options is set.
4136 Add several __builtin_expect.
4138 2000-05-26 Ulrich Drepper <drepper@redhat.com>
4140 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
4142 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4145 * posix/tst-preadwrite.c: Allow parallel execution of
4146 tst-preadwrite and tst-preadwrite64.
4148 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
4149 * posix/tst-truncate.c: New file.
4150 * posix/tst-truncate64.c: New file.
4152 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
4155 * posix/Makefile (tests): Add tst-preadwrite64.
4156 * posix/tst-preadwrite.c: Alloc file being used also for testing
4157 pread64 and pwrite64.
4158 * posix/tst-preadwrite64.c: New file.
4160 2000-05-26 Andreas Jaeger <aj@suse.de>
4162 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
4163 of arguments dependend on endianness.
4164 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4168 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4169 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4170 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4171 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4173 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4174 endianness to check how to pass argument.
4175 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4177 * elf/ldconfig.h: Update parameter list for process_elf_file.
4179 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4180 Add parameter file_length and pass it ot process_elf*file.
4182 * sysdeps/generic/readelflib.c (check_ptr): New.
4183 (process_elf_file): Use check_ptr to check all accesses to the
4184 mmapped file. Add parameter file_length.
4186 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4189 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4190 Closes PR libc/1573, reported by Bradley White
4191 <bww@laurelnetworks.com>.
4193 2000-05-25 Ulrich Drepper <drepper@redhat.com>
4195 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4196 __FAST_MATH__ is defined.
4198 2000-05-22 Andreas Jaeger <aj@suse.de>
4200 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4201 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4203 * manual/math.texi (FP Function Optimizations): Document gcc
4204 -ffast-math behaviour with mathinlines.
4206 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4207 functions unless -ffast-math is given to gcc.
4209 2000-05-23 Jakub Jelinek <jakub@redhat.com>
4211 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4212 __sincosl): Guard with __USE_GNU.
4214 2000-05-24 Ulrich Drepper <drepper@redhat.com>
4216 * csu/Makefile (routines): Add check_fds.
4217 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4218 binaries. Add various __builtin_expect.
4219 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4220 * sysdeps/generic/check_fds.c: ...here. New file.
4222 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4223 binaries if file /etc/suid-debug is available.
4225 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4226 and wcseqorder members.
4227 (struct locale_collate_t): Likewise.
4228 (collate_finish): Assign collation sequence value to each character.
4229 Create tables for output.
4230 (collate_output): Write out tables with collation sequence information.
4231 * locale/C-collate.c: Provide C locale data for collation sequence
4233 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4234 _NL_COLLATE_COLLSEQWC.
4235 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4236 _NL_COLLATE_COLLSEQWC.
4237 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4238 include fnmatch_loop.c.
4239 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4240 character is matched by range expression. Use collation sequence
4241 table. Outside glibc fall back on simple character value comparison.
4243 2000-05-24 Andreas Jaeger <aj@suse.de>
4245 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4248 * intl/Makefile: Run gettext-test only if msgfmt is available.
4250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4251 Define it for newer kernels.
4253 2000-05-23 Ulrich Drepper <drepper@redhat.com>
4255 * elf/dl-sym.c: Minor cleanups.
4257 * configure.in: Add test for .protected.
4258 * config.make.in: Add have-protected variable.
4259 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4260 (tests-vis-yes): Add vismain.
4261 (modules-names): Add $(modules-vis-$(have-protected)).
4262 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4263 Add rules to generate and run vismain.
4264 * elf/vismain.c: New file.
4265 * elf/vismod1.c: New file.
4266 * elf/vismod2.c: New file.
4267 * elf/vismod3.c: New file.
4269 2000-05-23 Andreas Jaeger <aj@suse.de>
4271 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4273 * manual/search.texi (Array Sort Function): Document that qsort is
4274 not necessarily in-place.
4276 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4277 Closes PR libc/1731.
4279 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4280 * dirent/scandir64.c: Likewise.
4281 * pwd/getpw.c: Likewise.
4282 * stdlib/bsearch.c (bsearch): Likewise.
4283 * stdlib/tst-strtoll.c: Likewise.
4284 * localedata/collate-test.c: Likewise.
4285 * localedata/xfrm-test.c: Likewise.
4286 * posix/bsd-getpgrp.c: Likewise.
4287 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4288 * sysdeps/generic/bits/siginfo.h: Likewise.
4289 * sysdeps/generic/bits/sockaddr.h: Likewise.
4290 * sysdeps/generic/sys/swap.h: Likewise.
4291 * sysdeps/generic/sys/sysinfo.h: Likewise.
4292 * sysdeps/generic/vfork.c: Likewise.
4293 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4294 * sysdeps/mach/hurd/fdopen.c: Likewise.
4295 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4296 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4297 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4298 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4299 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4300 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4303 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4304 * shadow/lckpwdf.c: Likewise.
4305 * stdlib/tst-strtol.c: Likewise.
4306 * sysdeps/generic/tcsetattr.c: Likewise.
4307 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4308 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4310 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4312 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4313 free it and set to (void *) -1.
4315 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4317 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4318 not the second character in the range.
4319 * stdio-common/tstscanf.c (main): Add testcase for the above.
4320 Reported by jik@kamens.brookline.ma.us.
4322 2000-05-21 H.J. Lu <hjl@gnu.org>
4324 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4325 with noexec and noplt parameter.
4326 (do_lookup): Likewise.
4328 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4329 do_lookup. Support STV_PROTECTED.
4330 (_dl_lookup_symbol_skip): Likewise.
4331 (_dl_lookup_versioned_symbol): Likewise.
4332 (_dl_lookup_versioned_symbol_skip): Likewise.
4334 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4336 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4338 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4340 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4341 * sysdeps/i386/bits/huge_val.h: Likewise.
4342 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4343 * sysdeps/m68k/bits/huge_val.h: Likewise.
4344 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4345 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4347 2000-05-22 Andreas Jaeger <aj@suse.de>
4349 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4352 2000-05-19 Andreas Jaeger <aj@suse.de>
4354 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4355 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4356 breaks compilation without linuxthreads.
4358 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4360 * sysdeps/ia64/memccpy.S: New file.
4361 * sysdeps/ia64/memchr.S: New file.
4362 * sysdeps/ia64/memcmp.S: New file.
4363 * sysdeps/ia64/memcpy.S: New file.
4364 * sysdeps/ia64/memmove.S: New file.
4365 * sysdeps/ia64/memset.S: New file.
4366 * sysdeps/ia64/strcat.S: New file.
4367 * sysdeps/ia64/strchr.S: New file.
4368 * sysdeps/ia64/strcmp.S: New file.
4369 * sysdeps/ia64/strcpy.S: New file.
4370 * sysdeps/ia64/strlen.S: New file.
4371 * sysdeps/ia64/strncmp.S: New file.
4372 * sysdeps/ia64/strncpy.S: New file.
4373 * sysdeps/ia64/softpipe.h: New file.
4374 Patches by Dan Pop <Dan.Pop@cern.ch>.
4376 * manual/memory.texi: Document memory handling functions (mlock,
4377 munlock, mlockall, munlockall, brk, and sbrk)
4378 * manual/time.texi: Document timespec and friends.
4379 * manual/conf.texi: Fix references.
4380 * manual/ctype.texi: Likewise.
4381 * manual/errno.texi: Likewise.
4382 * manual/intro.texi: Likewise.
4383 * manual/locale.texi: Likewise.
4384 * manual/sysinfo.texi: Likewise.
4385 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4387 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4389 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4390 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4392 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4394 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4397 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4399 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4400 * locale/localeconv.c: Initialize new elements from ISO C99.
4401 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4402 new standard elements.
4403 * locale/categories.def: Adjust accordingly.
4405 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4406 * iconv/iconv.c: Likewise.
4407 * conform/data/iconv.h-data: Likewise.
4408 * iconv/iconv_prog.c (process_block): Remove const from second
4410 (main): Remove const from addr definition.
4411 * manual/charset.texi (Generic Conversion Interface): Remove from
4412 inbuf parameter of iconv.
4414 * intl/dcigettext.c: Fix typo in comment.
4416 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4418 * resolv/res_libc.c (_res): Initialize _sock to -1.
4420 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4422 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4423 (fopencookie@@GLIBC_2.2): New.
4424 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4425 (fopencookie@GLIBC_2.0): New.
4426 * libio/Versions: Add fopencookie to GLIBC_2.2.
4428 2000-05-18 Andreas Jaeger <aj@suse.de>
4430 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4431 Closes PR libc/1731.
4433 * manual/arith.texi (Parsing of Integers): Fix typo.
4434 Closes PR libc/1744, reported by blp@gnu.org.
4436 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4438 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4439 __extension__ to hexadecimal floating constant notation.
4440 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4442 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4443 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4445 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4446 HUGE_VALL): Likewise.
4447 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4448 HUGE_VALL): Likewise.
4449 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4451 2000-05-17 Andreas Jaeger <aj@suse.de>
4453 * string/envz.h: Add pure attributes if possible.
4455 * string/argz.h: argz_count is a pure function.
4457 * string/strings.h: Add pure and const attributes if possible.
4459 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4460 possibly searching through the whole memory.
4461 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4463 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4465 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4467 (_dl_cache_check_flags): Likewise.
4468 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4471 2000-05-17 Andreas Jaeger <aj@suse.de>
4473 * manual/creature.texi (Feature Test Macros): Remove paragraph
4474 since the description is wrong.
4475 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4477 * scripts/config.sub: New version.
4478 * scripts/config.guess: Likewise.
4479 * manual/texinfo.tex: Likewise.
4481 * time/test_time.args: Removed.
4482 * time/Makefile (test_time-ARGS): Added contents here instead.
4484 * posix/tstgetopt.args: Removed.
4485 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4487 * Rules: Allow arguments for test files to be specified in
4488 Makefile with testname-ARGS; remove rules with .args in it.
4490 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4491 remove old bogus rule for opendir-tst1.args.
4493 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4495 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4496 into objdir. This allows a readonly sourcetree.
4497 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4499 2000-05-16 Andreas Jaeger <aj@suse.de>,
4500 David Huggins-Daines <dhd@linuxcare.com>
4502 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4503 cache_data in case of only new cache format correctly.
4505 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4508 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4509 struct cache_file_new.
4511 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4514 * elf/cache.c (save_cache): Align struct new_file_cache.
4515 (print_cache): Likewise.
4517 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4519 * elf/soinit.c (__libc_global_ctors): Move
4520 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4521 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4522 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4523 variable, don't define it to __res_state call.
4525 2000-05-13 Andreas Jaeger <aj@suse.de>
4527 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4529 (AF_PPPOX): Likewise.
4530 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4531 (AF_PPPOX): Likewise.
4533 2000-05-12 Andreas Jaeger <aj@suse.de>
4535 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4536 Reported by tmoestl@gmx.net, closes PR libc/1732.
4538 2000-05-11 Jan Hubicka <jh@suse.cz>
4540 * misc/sys/cdefs.h: Add support for pure attribute.
4542 * include/string.h: Add __attribute_pure__ to various functions.
4543 * string/string.h: Likewise.
4545 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4547 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4549 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4551 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4553 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4555 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4556 at proper place. Compute the high nibble correctly.
4558 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4560 * elf/ldconfig.c: Include elf.h.
4562 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4563 (_dl_vsym): Likewise.
4564 Reported by Owen Taylor <otaylor@redhat.com>.
4566 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4569 2000-05-08 Andreas Jaeger <aj@suse.de>
4571 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4573 * intl/bindtextdom.c (set_binding_values): Add prototype.
4575 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4577 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4578 call to elf_machine_fixup_plt.
4579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4580 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4582 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4584 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4585 they are not dlclose'd from underneath us.
4587 2000-05-08 Andreas Schwab <schwab@suse.de>
4589 * posix/execle.c: Fix size parameter of memcpy.
4591 2000-05-08 Andreas Schwab <schwab@suse.de>
4593 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4594 getpagesize syscall if available.
4596 2000-05-08 Andreas Jaeger <aj@suse.de>
4598 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4601 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4603 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4604 sizeof(struct link_map *) chunks, not in bytes.
4606 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4608 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4609 only needed for locale.
4610 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4611 It's only needed for catgets.
4612 Patches by Greg McGary <gkm@eng.ascend.com>.
4614 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4616 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4617 Remove duplicate <errno.h> include. Remove inclusion of
4618 <libintl.h> and "nsswitch.h".
4619 (set_cloexec_flag): New function, broken out of dbopen.
4620 (dbopen): Changed return type to `enum
4621 nss_status'. Mostly rewritten to make sure that we do not report
4622 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4623 (internal_setent): Change return type to nss_status.
4624 Document, and make sure that the function
4625 behaves accordingly. Make dynamically loading the database
4626 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4628 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4630 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4632 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4633 c_get function member.
4634 * nss/nss_db/nss_db.h: Add and tweak some comments.
4635 (DBT): Move typedef before NSS_DBC typedef.
4636 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4638 2000-05-07 H.J. Lu <hjl@gnu.org>
4640 * csu/initfini.c: Moved to ....
4641 * sysdeps/generic/initfini.c: ...here.
4643 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4645 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4647 * manual/resource.texi: Document POSIX scheduling functions.
4648 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4650 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4651 reading anything. Reported by Andries.Brouwer@cwi.nl.
4653 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4654 for x since promotion in comparison might leads to unexpected
4655 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4657 * iconv/Makefile (tests): Add tst-iconv1.
4658 * iconv/tst-iconv1.c: New file.
4659 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4660 empty input buffer over full output buffer.
4661 (ucs4_internal_loop): Likewise.
4662 (ucs4_internal_loop_unaligned): Likewise.
4663 (internal_ucs4le_loop): Likewise.
4664 (internal_ucs4le_loop_unaligned): Likewise.
4665 (ucs4le_internal_loop): Likewise.
4666 (ucs4le_internal_loop_unaligned): Likewise.
4667 Reported by yaoz@nih.gov.
4669 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4671 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4672 returned != __GCONV_OK, there is nothing to clean up.
4674 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4676 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4677 OUTPUT_CHARSET environment variables.
4679 2000-05-06 Andreas Jaeger <aj@suse.de>
4681 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4682 (struct cache_file_new): New.
4683 (struct file_entry): New (moved from cache.c).
4684 (struct cache_file): New (moved from cache.c).
4686 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4687 from _dl_load_cache_lookup.
4688 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4689 the different cache formats.
4690 New variable cache_new for new format.
4692 * elf/ldconfig.h: Change according to changes in cache.c and
4693 ldconfig.c; remove cache_libcmp; add opt_format.
4695 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4696 stuff that's defined in those headers.
4697 Add hwcap to struct lib_entry.
4698 (opt_format): New variable to select cache format.
4699 (options): Add format parameter.
4700 (is_hwcap): New function.
4701 (path_hwcap): New function.
4702 (parse_opt): Handle new format parameter.
4703 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4705 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4706 ldconfig is part of glibc.
4707 Include dl-cache.h and remove stuff that's defined there.
4708 (struct cache_entry): Add new member hwcap.
4709 (print_entry): Print hwcap, cleanup a bit.
4710 (print_cache): Print new and old formats.
4711 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4712 (save_cache): Save new and old formats.
4713 (add_to_cache): Handle hwcap.
4715 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4716 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4717 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4718 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4719 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4720 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4722 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4724 * intl/dcigettext.c (alignof): New macro.
4725 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4726 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4729 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4731 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4734 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4736 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4737 (mempcpy): Correct typo is parameter list.
4739 2000-05-06 Andreas Jaeger <aj@suse.de>
4741 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4742 functions unless -ffast-math is given to gcc.
4744 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4746 * po/ko.po: Update from translation team.
4748 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4750 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4751 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4752 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4753 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4754 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4755 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4757 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4758 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4759 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4761 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4762 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4763 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4764 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4766 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4767 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4769 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4771 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4772 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4774 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4775 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4777 * sysdeps/ia64/Implies: New file.
4778 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4779 * sysdeps/ia64/Makefile: New file.
4780 * sysdeps/ia64/gmp-mparam.h: New file,
4782 * sysdeps/ia64/elf/start.S: New file.
4784 * sysdeps/ia64/bits/fenv.h: New file.
4786 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4788 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4790 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4792 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4793 ia64 has 64 bit .hash entries just as the Alpha.
4795 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4797 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4799 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4801 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4802 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4803 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4804 * sysdeps/ia64/fpu/fegetenv.c: New file.
4805 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4806 * sysdeps/ia64/fpu/fegetround.c: New file.
4807 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4808 * sysdeps/ia64/fpu/fesetenv.c: New file.
4809 * sysdeps/ia64/fpu/fesetround.c: New file.
4810 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4811 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4812 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4813 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4814 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4816 2000-05-05 Andreas Jaeger <aj@suse.de>
4818 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4820 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4821 (_dl_string_hwcap): New, does nothing.
4823 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4824 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4825 (_dl_string_hwcap): New function, converts from string to hwcap
4827 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4828 (_DL_HWCAP_COUNT): New.
4829 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4830 (_dl_string_hwcap): New function, converts from string to hwcap
4832 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4833 (_DL_HWCAP_COUNT): New.
4834 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4835 (_dl_string_hwcap): New function, converts from string to hwcap
4838 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4840 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4841 * sysdeps/ia64/Dist: New file.
4843 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4844 parameter to mprotect and for variable assignments.
4846 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4848 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4849 validity of map before dereferencing it.
4851 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4853 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4855 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4856 lookup to the arguments to elf_machine_fixup_plt().
4858 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4859 of the symbol being resolved to input argument list and make the
4860 function return the pointer to the reloc.
4862 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4863 return valuie to lookup_t and return the value.
4864 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4865 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4866 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4867 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4871 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4872 Make it an inline function returning value after calling
4873 __elf_machine_fixup_plt().
4875 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4878 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4879 obtain the symbol address.
4881 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4882 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4884 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4885 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4888 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4890 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4891 symbol address of an object.
4893 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4894 the symbol address of an object.
4896 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4897 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4898 (_dl_lookup_symbol_skip): Likewise.
4899 (_dl_lookup_versioned_symbol): Likewise.
4900 (_dl_lookup_versioned_symbol_skip): Likewise.
4902 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4904 * elf/rtld.c (_dl_start): Get the function pointer return address
4905 via _dl_start_address for architectures that need a function
4906 pointer descriptor rather than just a pointer (ia64).
4908 * sysdeps/generic/dl-lookupcfg.h: New file.
4909 * sysdeps/ia64/dl-lookupcfg.h: New file.
4910 * sysdeps/ia64/dl-machine.h: New file.
4911 * sysdeps/ia64/dl-symaddr.c: New file.
4912 * sysdeps/ia64/dl-fptr.c: New file.
4914 * elf/elf.h: Add IA-64 specific definitions.
4916 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4918 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4921 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4923 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4926 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4928 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4929 symbol. Call _dl_init rather than the old way.
4931 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4933 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4934 test for pointer in range of DSO address space.
4936 2000-05-04 Andreas Jaeger <aj@suse.de>
4938 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4940 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4942 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4943 calls of _nl_make_l10nflist.
4945 * libio/stdio.h: Make fseeko and ftello prototypes available is
4946 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4948 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4949 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4951 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4953 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4954 before calling tfind.
4956 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4958 * resolv/resolv.h (res_querydomain): Remove redefinition to
4959 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4961 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4963 * po/gl.po: Update from translation team.
4965 * manual/intro.texi (Program Basics): Change section title.
4966 * manual/process.texi: Fix reference.
4967 (Executing a File): Add reference exec in other section.
4968 * manual/signal.texi: Fix reference.
4969 * manual/startup.texi: Document syscall function.
4970 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4972 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4974 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4975 * intl/bindtextdom.c (set_binding_values): New function.
4976 (bindtextdomain): Call it.
4977 (bind_textdomain_codeset): New function.
4978 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4979 (free_mem): Free each binding's codeset.
4980 * intl/gettextP.h (struct binding): Add codeset field.
4981 (_nl_find_domain): Add domainbinding argument.
4982 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4983 Pass it to _nl_make_l10nflist.
4984 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4985 (_nl_make_l10nflist): Add domainbinding argument.
4986 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4987 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4988 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4990 * manual/message.texi: New node "Charset conversion in gettext".
4992 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4994 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4995 appropriate. Handle possible __read error.
4997 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4999 * intl/gettextP.h (__builtin_expect): Define as empty if not a
5001 * intl/loadinfo.h (__builtin_expect): Likewise.
5002 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5003 __builtin_expect where appropriate.
5004 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5005 * intl/localealias.c (extend_alias_table): Return an error indicator.
5006 (read_alias_file): Bail out if extend_alias_table fails.
5008 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5010 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5011 * intl/localealias.c: Likewise.
5013 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5015 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5016 Initialize domain->plural and domain->nplurals even if there is no
5019 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5021 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5022 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5023 In case of failure, goto converted.
5025 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5027 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5028 * iconv/gconv_int.h (norm_add_slashes): Move to here.
5029 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5032 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5034 * intl/dcigettext.c (transcmp): Compare the domains as well.
5035 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5037 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5040 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5042 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5043 Reported by Bruno Haible.
5045 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5047 * manual/arith.texi: Remove @w from @itemize.
5049 2000-05-02 Andreas Jaeger <aj@suse.de>
5051 * conform/data/tar.h-data: Add some checks for specific values.
5053 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5056 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5059 * conform/data/netinet/in.h-data: Add exact checks for the values
5060 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5062 * conform/data/float.h-data: Add some minimal values.
5064 * conform/conformtest.pl: Test for macros with string constants,
5065 check for minimum and maximum values.
5066 Add limits.h to headers.
5068 * conform/data/cpio.h-data: Test for value of MAGIC.
5070 * conform/data/limits.h-data: New file.
5072 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5074 * math/Makefile (headers): Add bits/fenvinline.h.
5076 2000-05-01 Ulrich Drepper <drepper@redhat.com>
5078 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5079 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5081 * posix/Versions: Change posix_spawnattr_getdefault and
5082 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5083 and posix_spawnattr_setsigdefault respectively.
5084 * posix/spawn.h: Likewise.
5085 * posix/spawnattr_getdefault.h: Likewise.
5086 * posix/spawnattr_setdefault.h: Likewise.
5087 * conform/data/spawn.h-data: Likewise.
5089 2000-05-01 Andreas Jaeger <aj@suse.de>
5091 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5093 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5095 * manual/sysinfo.texi: Document getdomainname, setdomainname
5097 * manual/string.texi: Fix typo.
5098 * manual/terminal.texi: Document gtty and stty.
5099 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5101 2000-04-30 Andreas Jaeger <aj@suse.de>
5103 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
5104 accordance with Austin Draft.
5106 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5108 * catgets/gencat.c (read_input_file): Use isblank and not isspace
5109 to recognize second character in comment line.
5111 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
5112 ENOBUFS if we are out of memory.
5114 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
5115 available if __USE_XOPEN2K.
5116 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5117 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5118 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5120 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5122 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
5123 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5125 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5127 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
5128 Recognize option -s, -c, and -l.
5130 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
5132 * nscd/nscd.c: Start new session for nscd, drop privilegs
5133 to configured user if requested and no -S parameter are used.
5134 * nscd/nscd.conf: Add new option "server-user".
5135 * nscd/nscd_conf.c: Add support for new "server-user" option.
5136 * nscd/nscd.h: Add declaration for server_user variable.
5137 Based on patch by Chris Wing <wingc@engin.umich.edu>
5139 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5141 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
5142 that changing the __restore and __restore_rt signal return code
5145 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5147 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
5150 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5152 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
5154 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5156 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
5157 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
5159 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
5160 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
5161 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
5162 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
5163 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5164 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5165 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5166 posix_fallocate, and posix_madvise.
5167 * conform/data/netdb.h-data: New file.
5168 * conform/data/pthread.h-data: Add pthread_barrier_t,
5169 pthread_barrierattr_t, pthread_barrier_destroy,
5170 pthread_barrier_init, pthread_barrier_wait,
5171 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5172 pthread_barrierattr_init, pthread_barrierattr_setpshared,
5173 pthread_condattr_getclock, pthread_condattr_setclock,
5174 pthread_getcpuclockid, pthread_mutex_timedlock,
5175 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5176 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5177 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5178 * conform/data/sched.h-data: Add sched_ss_low_priority,
5179 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5181 * conform/data/semaphore.h-data: Add sem_timedwait.
5182 * conform/data/signal.h-data: Add SIGIO.
5183 * conform/data/spawn.h-data: New file.
5184 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5185 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5186 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5187 Fix typo in gmtime_r definition.
5188 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5189 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5190 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5191 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5192 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5193 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5194 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5195 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5196 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5197 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5198 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5199 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5200 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5201 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5202 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5203 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5204 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5205 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5206 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5207 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
5208 typo in off_t definition.
5209 * conform/data/net/if.h-data: New file.
5210 * conform/data/netinet/in.h-data: New file.
5211 * conform/data/netinet/tcp.h-data: New file.
5212 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5213 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5214 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5215 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5216 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5217 and posix_typed_mem_open.
5218 * conform/data/sys/socket.h-data: New file.
5219 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5220 * conform/data/sys/types.h-data: Add pthread_barrier_t,
5221 pthread_barrierattr_t, and pthread_spinlock_t.
5222 * conform/data/sys/un.h-data: New file.
5223 * conform/data/sys/utsname.h-data: New file.
5225 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5227 * inet/gethstbyad.c (gethostbyname): Likewise.
5228 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5229 * inet/getipnodebyad.c (getipnodebyad): Likewise.
5230 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5231 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5233 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5234 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5235 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5236 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5237 * resolv/gethnamaddr.c (gethostbyname): Likewise.
5238 * resolv/netdb.h (struct hostent): Fix type of h_length member.
5239 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5240 and second parameter.
5242 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5245 2000-04-29 Andreas Jaeger <aj@suse.de>
5247 * conform/data/arpa/inet.h-data: New file.
5249 2000-04-28 Geoff Clare <gwc@unisoft.com>
5251 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5252 path passed to ftw() or nftw() is an empty string.
5253 Closes PR libc/1710.
5255 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5257 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5258 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5259 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5260 * localedata/tst-mbswcs4.c: New file.
5261 * localedata/tst-mbswcs5.c: New file.
5263 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5264 == NULL. Little optimization.
5266 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5267 DT_PREINIT_ARRAYSZ).
5268 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5270 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5271 overflows in conversion from ASCII.
5273 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5275 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5276 * Makerules (full_config_sysdirs): Likewise.
5277 * MakeTAGS (full_config_sysdirs): Likewise.
5279 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5281 * .cvsignore: Remove linuxthreads.
5282 * po/.cvsignore: Remove *.pot.
5283 * posix/glob/.cvsignore: Removed.
5284 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5286 2000-04-25 Andreas Jaeger <aj@suse.de>
5288 * conform/Makefile (distribute): Also distribute contents of
5291 * Makerules (no_deps): Remove abi-versions.h.
5293 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5295 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5297 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5298 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5299 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5300 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5301 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5302 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5305 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5307 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5309 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5311 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5312 * intl/l10nflist.c: Likewise.
5314 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5316 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5317 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5318 * intl/textdomain.c [!_LIBC]: Likewise.
5319 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5320 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5321 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5324 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5326 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5327 character set conversion also in the case the translation was found
5328 after a hash collision or through binary search. Store the maximum
5329 index together with the converted message. Use iconv() when available.
5330 In case of out of memory during conversion, return the unconverted
5331 translated string, not NULL.
5333 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5335 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5336 to avoid name clashes with the ia32 linker.
5338 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5340 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5343 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5345 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5346 strtoumax, strfry, and memfrob.
5347 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5348 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5350 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5351 if this function is available.
5353 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5356 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5358 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5360 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5362 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5363 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5364 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5365 * localedata/tst-mbswcs3.c: New file.
5367 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5369 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5370 characters. Don't handle incomplete characters as errors.
5371 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5372 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5373 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5374 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5375 * localedata/tst-mbswcs2.c: New file.
5377 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5378 stored character in state in UNPACK_BYTES macro.
5379 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5380 test for available characters, handle result of BODY code correctly.
5381 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5382 (distribute): Add tst-mbswcs.sh.
5383 Add rule to run tst-mbswcs.sh.
5384 * localedata/tst-mbswcs.sh: New file.
5385 * localedata/tst-mbswcs1.c: New file.
5387 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5389 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5390 allocation fixups centrally, fix __builtin_expect call, return NULL
5391 on failure, not NIS_NOMEMORY.
5393 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5395 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5397 * intl/loadinfo.h (internal_function): Define if not already defined.
5399 2000-04-27 Andreas Jaeger <aj@suse.de>
5401 * intl/libintl.h: Fix typo, reported by Bruno Haible
5402 <haible@clisp.cons.org>.
5404 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5406 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5407 setting the state to GMON_PROF_BUSY.
5409 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5411 * elf/dl-profile.c (_dl_start_profile): define all variables which
5412 do not have to be global as local variables.
5414 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5415 patch. Keep needed tests for failed memory allocation.
5417 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5418 __builtin_expect saying that we don't normally expect to profile.
5420 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5421 __builtin_expect where desirable.
5423 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5425 * manual/Makefile (chapters): Add syslog.
5426 * manual/syslog.texi: New file.
5427 * manual/math.texi: Fix references.
5428 * manual/terminal.texi: Likewise.
5429 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5431 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5433 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5434 stdlib.h was not included or __USE_XOPEN not defined.
5436 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5438 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5439 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5441 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5443 * manual/examples/subopt.c (mount_opts): Add missing terminating
5445 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5447 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5448 * libio/ftello.c: Likewise.
5449 * libio/ftello64.c: Likewise.
5450 * libio/ioftell.c: Likewise.
5451 * sysdeps/generic/memrchr.c: Likewise.
5452 * sysdeps/posix/libc_fatal.c: Likewise.
5453 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5454 * misc/fstab.c: Include <string.h> for strcmp prototype.
5455 * sysdeps/generic/ldsodefs.h: Likewise.
5456 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5457 Patch by Kurt Roeckx <Q@ping.be>.
5459 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5460 Remove db-open. Change all uses.
5461 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5463 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5465 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5466 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5467 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5468 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5469 with .set noat/at to shut up warnings.
5470 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5471 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5472 compilation if __NR_pciconfig_iobase is not defined.
5473 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5476 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5478 * manual/sysinfo.texi: Fix typo.
5479 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5480 Replace "high precision time" with "high accuracy clock".
5482 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5484 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5485 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5487 * nis/nis_subr.c: Use __builtin_expect.
5488 * nis/ypclnt.c: Likewise.
5489 * nis/nis_getservlist.c: Likewise.
5490 * nis/nis_creategroup.c: Likewise.
5492 * nis/nis_callback.c (__nis_create_callback): Check result of
5493 memory allocation. Fix memory leaks. Use __builtin_expect.
5494 (__nis_destroy_callback): Fix memory leaks.
5496 2000-04-21 Andreas Jaeger <aj@suse.de>
5498 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5499 * sysdeps/mips/mips64/add_n.S: Likewise.
5500 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5501 * sysdeps/mips/mips64/lshift.S: Likewise.
5502 * sysdeps/mips/mips64/mul_1.S: Likewise.
5503 * sysdeps/mips/mips64/rshift.S: Likewise.
5504 * sysdeps/mips/mips64/setjmp.S: Likewise.
5505 * sysdeps/mips/mips64/sub_n.S: Likewise.
5506 * sysdeps/mips/mips64/submul_1.S: Likewise
5507 * sysdeps/unix/mips/sysdep.S: Likewise.
5509 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5510 and update comment. The strtab from _dl_relocate_object can be
5513 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5515 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5516 * iconv/iconv_close.c (iconv_close): Likewise.
5517 * iconv/iconv_open.c (iconv_open): Likewise.
5519 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5520 __builtin_expect where useful.
5522 * grp/initgroups.c (initgroups): Test for result of memory
5523 allocation and punt if it fails.
5525 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5526 * grp/fgetgrent.c (fgetfrent): Likewise.
5527 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5529 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5531 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5533 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5535 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5536 don't search for NUL byte to decrement counter.
5537 Reported by Ulrich.Brink@sap.com.
5539 * iconv/gconv_simple.c: Define separate functions to convert from
5540 UCS4/UCS4-LE to the internal encoding.
5541 * iconv/gconv_builtin.h: Use separate functions to convert from
5542 UCS4/UCS4-LE to the internal encoding.
5543 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5544 __gconv_transform_ucs4le_internal.
5546 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5547 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5549 * iconv/skeleton.c: Add some more __builtin_expect.
5550 * iconv/loop.c: Likewise.
5552 2000-03-08 H.J. Lu <hjl@gnu.org>
5554 * posix/regex.c (regex_compile): Correctly handle "\{" when
5555 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5557 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5559 * manual/stdio.texi: Give advise about handling error when using
5561 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5563 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5565 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5566 field to nelems * sizeof (uint32_t).
5567 * locale/programs/ld-address.c (address_output): Align word fields
5569 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5570 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5572 Avoid giving arbitrary garbage in the crncystr field.
5573 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5574 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5576 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5577 Don't restart idx pointers to idx end at the decimal_point_wc field.
5578 * locale/programs/ld-time.c (time_output): week_1stday should be
5579 word, not byte. Align it properly.
5581 2000-04-19 H.J. Lu <hjl@gnu.org>
5583 * csu/gmon-start.c (_start): Declared as "extern void".
5586 2000-04-18 Andreas Jaeger <aj@suse.de>
5588 * manual/install.texi (Running make install): Don't mention utmpd
5591 2000-04-18 Andreas Jaeger <aj@suse.de>
5593 * linuxthreads/Versions: Use ld instead of ld.so.
5595 * elf/Makefile (ld-map): Use ld.map.
5597 * Versions.def: Use ld instead of ld.so.
5598 * elf/Versions: Likewise.
5599 * sysdeps/mach/hurd/Versions: Likewise.
5601 2000-04-20 Andreas Jaeger <aj@suse.de>
5603 * elf/rtld.c (print_statistics): Move ifndef further up.
5604 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5605 (dl_main): Likewise.
5607 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5609 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5610 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5612 * po/cs.po: Update from translation team.
5614 * sysdeps/generic/updwtmp.c: Remove daemon support.
5616 * login/Makefile (routines): Remove utmp_daemon.
5618 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5619 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5620 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5621 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5623 * elf/rtld.c: Display statitics option also if hp timing is not
5626 * login/programs/connection.c: Removed.
5627 * login/programs/database.c Removed.
5628 * login/programs/error.c: Removed.
5629 * login/programs/request.c: Removed.
5630 * login/programs/xtmp.c: Removed.
5631 * login/programs/xtmp.h: Removed.
5632 * login/Makefile: Remove rules for utmpd.
5633 * login/README.utmpd: Removed.
5634 * login/utmp_daemon.c: Removed.
5635 * login/getutent_r.c: Remove references to daemon functions.
5636 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5639 2000-04-18 Andreas Jaeger <aj@suse.de>
5641 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5642 2.2 for libnsl, libresolv, librt, libnss_*.
5644 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5646 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5648 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5650 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5651 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5652 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5653 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5654 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5655 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5656 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5657 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5658 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5659 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5660 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5661 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5662 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5664 * sysdeps/unix/sysv/aix/msync.c: New file.
5665 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5666 * sysdeps/unix/sysv/aix/net/if.h: New file.
5667 * sysdeps/unix/sysv/aix/pipe.c: New file.
5668 * sysdeps/unix/sysv/aix/poll.c: New file.
5669 * sysdeps/unix/sysv/aix/rename.c: New file.
5670 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5671 * sysdeps/unix/sysv/aix/select.c: New file.
5672 * sysdeps/unix/sysv/aix/semctl.c: New file.
5673 * sysdeps/unix/sysv/aix/semget.c: New file.
5674 * sysdeps/unix/sysv/aix/semop.c: New file.
5675 * sysdeps/unix/sysv/aix/sendto.c: New file.
5676 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5677 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5678 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5679 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5680 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5681 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5682 * sysdeps/unix/sysv/aix/setsid.c: New file.
5683 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5684 * sysdeps/unix/sysv/aix/shmat.c: New file.
5685 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5686 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5687 * sysdeps/unix/sysv/aix/shmget.c: New file.
5688 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5689 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5690 * sysdeps/unix/sysv/aix/socket.c: New file.
5691 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5692 * sysdeps/unix/sysv/aix/speed.c: New file.
5693 * sysdeps/unix/sysv/aix/symlink.c: New file.
5694 * sysdeps/unix/sysv/aix/sync.c: New file.
5695 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5696 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5697 * sysdeps/unix/sysv/aix/times.c: New file.
5698 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5699 * sysdeps/unix/sysv/aix/umask.c: New file.
5700 * sysdeps/unix/sysv/aix/unlink.c: New file.
5701 * sysdeps/unix/sysv/aix/ustat.c: New file.
5702 * sysdeps/unix/sysv/aix/utimes.c: New file.
5704 2000-04-18 Andreas Jaeger <aj@suse.de>
5706 * manual/startup.texi (Environment Access): Fix putenv prototype
5707 according to recent changes.
5708 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5711 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5714 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5716 * posix/Makefile (tests): Add tst-getaddrinfo.
5717 * posix/tst-getaddrinfo.c: New file.
5719 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5721 * manual/sysinfo.texi: Document that umount2 is not widely available.
5723 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5724 signal timing is not really implemented.
5726 2000-04-17 Andreas Jaeger <aj@suse.de>
5728 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5730 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5732 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5735 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5737 * manual/intro.texi: Change reference from System Information to
5739 * manual/users.texi: Likewise.
5740 * manual/conf.texi: Likewise.
5741 * manual/sysinfo.texi: Document mount, umount, and umount2.
5742 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5744 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5746 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5747 Create wnumstr as well as numstr to support wide character output
5750 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5752 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5753 modification and move it...
5754 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5755 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5756 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5757 switch to $(LD) on sparc-linux.
5759 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5761 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5762 and setresuid from sysdep_routines.
5764 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5766 * manual/Makefile (chapters): Add resource.
5768 * manual/time.texi: Move section on resources to...
5769 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5771 * manual/setjmp.texi: Adjust back reference.
5772 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5774 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5776 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5777 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5778 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5779 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5780 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5781 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5782 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5783 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5784 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5785 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5786 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5787 * sysdeps/unix/sysv/aix/Implies: New file.
5788 * sysdeps/unix/sysv/aix/Versions: New file.
5789 * sysdeps/unix/sysv/aix/bind.c: New file.
5790 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5791 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5792 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5793 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5794 * sysdeps/unix/sysv/aix/chdir.c: New file.
5795 * sysdeps/unix/sysv/aix/chmod.c: New file.
5796 * sysdeps/unix/sysv/aix/chroot.c: New file.
5797 * sysdeps/unix/sysv/aix/creat.c: New file.
5798 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5799 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5800 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5801 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5802 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5803 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5804 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5805 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5806 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5807 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5808 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5809 * sysdeps/unix/sysv/aix/link.c: New file.
5810 * sysdeps/unix/sysv/aix/madvise.c: New file.
5811 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5812 * sysdeps/unix/sysv/aix/mknod.c: New file.
5813 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5814 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5815 * sysdeps/unix/sysv/aix/msgget.c: New file.
5816 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5818 2000-04-17 Andreas Jaeger <aj@suse.de>
5820 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5821 as suggested by Ulrich Drepper.
5822 (__dl_runtime_resolve): Remove unused variable, initialize sym
5824 (RTLD_START): Document OFFSET_GP_GOT.
5825 (OFFSET_GP_GOT): New magic value.
5826 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5827 (elf_machine_got_rel): Only declare strtab if needed.
5828 (elf_machine_relplt): Removed, it's not needed.
5829 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5831 * sysdeps/mips/add_n.S: Add newline at EOF.
5832 * sysdeps/mips/rshift.S: Likewise.
5833 * sysdeps/mips/mul_1.S: Likewise.
5834 * sysdeps/mips/lshift.S: Likewise.
5835 * sysdeps/mips/addmul_1.S: Likewise.
5837 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5839 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5841 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5842 * elf/dl-lookup.c: Likewise.
5843 * elf/dl-init.c (_dl_init): Likewise.
5844 * elf/dl-fini.c (_dl_fini): Likewise.
5845 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5846 * elf/dl-close.c (_dl_close): Likewise.
5847 * elf/rtld.c (_dl_start_final): Likewise.
5849 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5851 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5853 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5854 only fall back on using Linux.
5856 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5857 Before testing versions check that we actually loaded the object
5858 and whether we are in trace mode. If not loaded during tracing don't
5859 test versions in this object.
5860 (_dl_check_all_versions): Take new parameter and pass to
5861 _dl_check_map_versions.
5862 * sysdeps/generic/ldsodefs.h: Update prototypes for
5863 _dl_check_all_versions and _dl_check_map_versions.
5864 * elf/rtld.c (struct version_check_args): Add dotrace.
5865 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5866 (dl_main): Pass info about trace mode to version_check_doit.
5867 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5868 _dl_check_all_versions.
5870 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5872 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5874 * manual/argp.texi: Document index parameter of argp_parse.
5876 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5878 2000-04-14 Andreas Jaeger <aj@suse.de>
5880 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5881 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5883 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5885 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5887 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5888 compat_symbol call for old adjtime.
5890 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5891 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5893 * posix/Makefile (headers): Add spawn.h.
5894 (distribute): Add spawn_int.h.
5895 (routines): Add spawn_faction_init, spawn_faction_destroy,
5896 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5897 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5898 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5899 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5900 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5901 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5902 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5903 posix_spawnattr_init, posix_spawnattr_destroy,
5904 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5905 posix_spawnattr_getflags, posix_spawnattr_setflags,
5906 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5908 * posix/spawn.c: New file.
5909 * posix/spawn.h: New file.
5910 * posix/spawn_faction_addclose.c: New file.
5911 * posix/spawn_faction_adddup2.c: New file.
5912 * posix/spawn_faction_addopen.c: New file.
5913 * posix/spawn_faction_destroy.c: New file.
5914 * posix/spawn_faction_init.c: New file.
5915 * posix/spawn_int.h: New file.
5916 * posix/spawnattr_destroy.c: New file.
5917 * posix/spawnattr_getdefault.c: New file.
5918 * posix/spawnattr_getflags.c: New file.
5919 * posix/spawnattr_getpgroup.c: New file.
5920 * posix/spawnattr_getschedparam.c: New file.
5921 * posix/spawnattr_getschedpolicy.c: New file.
5922 * posix/spawnattr_getsigmask.c: New file.
5923 * posix/spawnattr_init.c: New file.
5924 * posix/spawnattr_setdefault.c: New file.
5925 * posix/spawnattr_setflags.c: New file.
5926 * posix/spawnattr_setpgroup.c: New file.
5927 * posix/spawnattr_setschedparam.c: New file.
5928 * posix/spawnattr_setschedpolicy.c: New file.
5929 * posix/spawnattr_setsigmask.c: New file.
5930 * posix/spawni.c: New file.
5931 * posix/spawnp.c: New file.
5933 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5934 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5936 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5938 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5939 * malloc/malloc.c: Implement posix_memalign for glibc.
5940 * include/stdlib.h: Add prototype for __posix_memalign.
5941 * stdlib/stdlib.h: Add prototype for posix_memalign.
5943 2000-04-14 Andreas Jaeger <aj@suse.de>
5945 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5947 (elf_machine_got_rel): Cast sym correctly.
5949 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5950 * sysdeps/mips/addmul_1.S: Likewise.
5951 * sysdeps/mips/lshift.S: Likewise.
5952 * sysdeps/mips/mul_1.S: Likewise.
5953 * sysdeps/mips/rshift.S: Likewise.
5954 * sysdeps/mips/sub_n.S: Likewise.
5955 * sysdeps/mips/submul_1.S: Likewise.
5957 * stdlib/stdlib.h: Fix typo in comment.
5959 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5960 2.2 for libdl, ld and libm.
5962 * sysdeps/generic/madvise.c: Fix typos.
5964 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5966 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5968 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5971 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5973 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5974 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5975 Make old name weak alias.
5976 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5977 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5978 Make old name weak alias.
5979 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5981 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5982 posix_fallocate, and posix_fallocate64.
5983 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5984 posix_fallocate, and posix_fallocate64.
5985 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5986 posix_fallocate, and posix_fallocate64.
5987 * sysdeps/generic/fadvise.c: New file.
5988 * sysdeps/generic/fadvise64.c: New file.
5989 * sysdeps/generic/fallocate.c: New file.
5990 * sysdeps/generic/fallocate64.c: New file.
5991 * sysdeps/posix/fallocate.c: New file.
5992 * sysdeps/posix/fallocate64.c: New file.
5993 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5994 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5995 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5996 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5997 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5998 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5999 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6000 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6003 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6004 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6006 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6008 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6009 * misc/sys/mman.h (posix_madvise): Add prototype.
6010 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
6011 old name and posix_madvise weak aliases.
6012 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6013 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6014 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6015 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6016 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6020 2000-04-13 Andreas Jaeger <aj@suse.de>
6022 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6024 (elf_machine_got_rel): Only add runtime display if needed.
6025 (elf_machine_got_rel): Handle symbol versioning.
6027 2000-04-13 Andreas Jaeger <aj@suse.de>
6029 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6031 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6034 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6035 with some applications.
6036 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6038 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6039 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6040 * sysdeps/mips/setjmp.S: Likewise.
6042 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6044 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6046 * posix/globtest.sh: Work around inconsistency with expanding ~/
6047 in shell (PR libc/1690). Reported by patsmith@pobox.com.
6049 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6051 * posix/getconf.c: Add support for many more POSIX options.
6052 * sysdeps/posix/sysconf.c: Likewise.
6053 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6054 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6056 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6057 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6058 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
6059 CLOCK_THREAD_CPUTIME_ID.
6060 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6061 CLOCK_PROCESS_CPUTIME_ID.
6062 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6063 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
6064 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6065 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6067 * malloc/Makefile (tests): Add tst-calloc.
6068 * malloc/tst-calloc.c: New file.
6070 * sysdeps/arm/libm-test-ulps: New file.
6072 * malloc/malloc.c: Undo all of today's changes.
6074 * locale/programs/locale.c (show_info): Don't try to look into
6075 data for LC_ALL (there is none).
6077 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6078 avoid writing over boundary.
6079 Patch by Greg McGary <gkm@eng.ascend.com>.
6081 * sysdeps/arm/memprof.h: New file.
6083 2000-04-12 Andreas Jaeger <aj@suse.de>
6085 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6087 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6088 for memmem declaration.
6090 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6092 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6094 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6096 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6098 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6099 Patch by Bart Veer <bartv@redhat.com>.
6101 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
6104 2000-04-11 Andreas Jaeger <aj@suse.de>
6106 * sysdeps/mips/dl-machine.h: Update some comments.
6107 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
6109 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6111 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
6112 _POSIX_SHARED_MEMORY_OBJECTS.
6114 * rt/Makefile (tests): Add tst-shm.
6115 Add rules to generate tst-shm.
6116 * rt/tst-shm.c: New file.
6118 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
6121 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
6122 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
6123 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
6124 * sysdeps/generic/shm_open.c: New file.
6125 * sysdeps/generic/shm_unlink.c: New file.
6126 * sysdeps/unix/sysv/linux/shm_open.c: New file.
6127 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
6128 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
6129 __endmntent, __getmntent_r, __setmntent, and __statfs.
6131 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
6132 fragmentation by allocating new memory at the end instead of
6135 * posix/globtest.sh: Fix last change.
6137 2000-04-10 Philip Blundell <philb@gnu.org>
6139 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
6140 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
6141 IPV6_DROP_MEMBERSHIP.
6142 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
6145 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6147 * elf/readlib (process_file): Close streams in case of an error.
6149 2000-04-09 Andreas Jaeger <aj@suse.de>
6151 * elf/readlib.c (process_file): Check if file is big enough to
6152 contain aout and ELF headers.
6153 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
6155 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
6157 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
6159 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6161 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
6163 * rt/Makefile (tests): Add tst-clock.
6164 Add rules to build tst-clock.
6165 * rt/tst-clock.c: New file.
6166 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6167 about initialization of nsec.
6168 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6169 about initialization of freq. Set retval to zero if successful.
6170 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6172 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6174 * Versions.def (librt): Add GLIBC_2.2.
6175 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6176 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6177 timer_getoverr, timer_gettime, and timer_settime.
6178 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6179 clock_settime, timer_create, timer_delete, timer_getoverrun,
6180 timer_gettime, and timer_settime.
6181 * sysdeps/generic/clock_getcpuclockid.c: New file.
6182 * sysdeps/generic/get_clockfreq.c: New file.
6183 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6184 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6185 * sysdeps/mach/hurd/i386/bits/time.h: New file.
6186 * sysdeps/unix/i386/i586/clock_getres.c: New file.
6187 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6188 * sysdeps/unix/i386/i686/Implies: New file.
6189 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6190 * time/Makefile (routines): Move clock_getres, clock_gettime,
6191 clock_settime, timer_create, timer_delete, timer_getoverr,
6192 timer_gettime, and timer_settime to rt/Makefile.
6193 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6194 clock_settime, timer_create, timer_delete, timer_getoverrun,
6195 timer_gettime, and timer_settime.
6196 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6198 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
6199 and not const as attribute name.
6201 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
6203 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6205 2000-04-10 Andreas Schwab <schwab@suse.de>
6207 * posix/globtest.sh: Skip tests that depend on unreadable
6208 directories if run as root.
6210 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6212 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6213 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6215 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6217 * sysdeps/unix/clock_gettime.c: New file.
6218 * sysdeps/unix/clock_settime.c: New file.
6219 * sysdeps/posix/clock_getres.c: New file.
6221 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6223 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6224 lseek call be passing in a buffer which never allow a successful
6225 first getdents syscall if not at leas the initial entry can be
6226 stored in the user buffer.
6228 * localedata/Makefile: Add rules to clean up directories created by
6231 2000-04-09 Geoff Clare <gwc@unisoft.com>
6233 * localedata/tst-fmon.data: Added new tests for strfmon()
6234 using test locales with all combinations of cs_precedes,
6235 sign_posn and sep_by_space.
6236 * localedata/tst-fmon.sh: Updated to support the new tests.
6237 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6238 the localedef source for the new strfmon() test locale.
6239 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6240 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6241 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6242 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6243 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6244 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6245 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6246 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6247 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6248 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6249 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6250 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6251 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6252 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6254 * stdlib/strfmon.c: Correct problems with missing or extra
6255 spaces for unusual combinations of sign_posn and sep_by_space.
6256 Improved left-precision alignment code.
6258 2000-04-07 Andreas Jaeger <aj@suse.de>
6260 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6262 2000-04-10 Andreas Jaeger <aj@suse.de>
6264 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6266 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6268 Implement handling of restartable conversion functions according to
6270 * iconv/gconv.h (__gconv_fct): Add additional parameter.
6271 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6272 * iconv/gconv.c: Pass additional parameter to conversion function.
6273 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6274 (internal_ucs4le_loop_single): New function.
6275 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6276 (__gconv_transform_internal_ascii): Likewise.
6277 (__gconv_transform_internal_utf8): Likewise.
6278 (__gconv_transform_utf8_internal): Likewise.
6279 (__gconv_transform_ucs2_internal): Likewise.
6280 (__gconv_transform_internal_ucs2): Likewise.
6281 (__gconv_transform_ucs2reverse_internal): Likewise.
6282 (__gconv_transform_internal_ucs2reverse): Likewise.
6283 (internal_ucs4le_loop_unaligned): Before return
6284 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6285 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
6286 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6287 * iconv/loop.c: Fit in definition of function to convert one character
6288 for processing of left-over bytes from the state object.
6289 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6290 inend to match names in loop functions.
6291 (RESET_INPUT_BUFFER): Change apprpriately.
6292 (gconv): If needed, call function to process bytes from the state
6293 object. Similar at the end: store left over bytes if input is
6295 Take extra argument and add new argument to all calls of the
6296 conversion function.
6297 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6298 information in the state object to not conflict with length count.
6299 * iconvdata/iso-2022-jp.c: Likewise.
6300 * iconvdata/iso-2022-kr.c: Likewise.
6301 * iconvdata/unicode.c: Adjust for change change in parameters of
6303 * iconvdata/utf-16.c: Likewise.
6304 * libio/iofwide.c: Add new parameter to all calls of conversion
6306 * wcsmbs/btowc.c: Likewise.
6307 * wcsmbs/mbrtowc.c: Likewise.
6308 * wcsmbs/mbsnrtowcs.c: Likewise.
6309 * wcsmbs/mbsrtowcs.c: Likewise.
6310 * wcsmbs/wcrtomb.c: Likewise.
6311 * wcsmbs/wcsnrtombs.c: Likewise.
6312 * wcsmbs/wcsrtombs.c: Likewise.
6313 * wcsmbs/wctob.c: Likewise.
6315 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6318 2000-04-07 Andreas Jaeger <aj@suse.de>
6320 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6323 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6325 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6326 element a union to allow byte access.
6327 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6329 * iconvdata/iso-2022-jp.c: Likewise.
6330 * iconvdata/iso-2022-kr.c: Likewise.
6331 * wcsmbs/mbsinit.c: Likewise.
6332 * stdlib/mblen.c: Likewise.
6333 * stdio-common/printf-parse.h: Likewise.
6335 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6337 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6338 kernel does not allow relative seeks on descriptors associated
6339 with directories. Go back to get the position in the directory
6340 every time we enter the function. Return -1 and set errno if one
6341 entry could be read from the kernel but does not fit into the
6342 buffer passed in by the user.
6344 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6345 Support ..(2).. ellipsis.
6346 (parse_charmap): Recognize ..(2).. etc and pass step down.
6347 Correctly generate names for UCS4 characters.
6349 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6350 (ctype_finish): We know the wide character value for <SP>,
6352 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6353 (charclass_ucs4_ellipsis): Likewise.
6354 (read_translit_ignore_entry): Store ellipsis step.
6355 (ctype_read): Recognize ..(2).. etc and pass step down.
6357 * locale/programs/linereader.c (lr_token): When seeing comment
6358 character ignore only rest of line in sources but stop at escaped
6360 Recognize ..(2).. and ....(2).....
6362 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6363 and tok_ellipsis4_2.
6365 2000-04-06 Andreas Jaeger <aj@suse.de>
6367 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6368 removed, remove it here also.
6369 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6370 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6371 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6372 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6374 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6376 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6377 include bits/sigcontext.h.
6378 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6380 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6382 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6383 collation symbol definition. Value in quivalence definition must
6384 be defined, don't check that it is not.
6386 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6387 values as character names.
6389 * locale/programs/ld-ctype.c (get_character): Handle missing
6390 repertoire map correctly.
6392 2000-04-05 Cristian Gafton <gafton@redhat.com>
6394 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6395 because it is used in generic code.
6396 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6397 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6398 * intl/gettext.c: Include <locale.h>.
6399 * intl/ngettext.c: Likewise.
6401 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6403 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6404 socklen_t type for size.
6405 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6406 init function interface.
6407 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6408 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6410 (__jmp_buf): Declare the whole type structure here, don't use
6413 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6415 * iconv/skeleton.c (put16u): Fix typo.
6416 Reported by Bruno Haible <haible@ilog.fr>.
6418 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6419 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6420 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6421 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6422 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6423 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6425 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6426 * Makefile (distribute): Add abi-versions.awk and
6428 Patches by Torsten Duwe <duwe@caldera.de>.
6430 2000-04-05 Andreas Schwab <schwab@suse.de>
6432 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6434 2000-04-05 Andreas Schwab <schwab@suse.de>
6436 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6437 entry point, used on Hurd.
6439 2000-04-04 Andreas Jaeger <aj@suse.de>
6441 * intl/Makefile: Only run the gettext test with shared libraries.
6443 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6445 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6446 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6448 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6450 * Makeconfig: Undo last change.
6451 * configure.in: If --disable-shared was given, don't set VERSIONING,
6452 don't define DO_VERSIONING, and don't give scare warning for no
6454 * configure: Regenerated.
6456 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6458 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6460 2000-04-04 Andreas Jaeger <aj@suse.de>
6462 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6464 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6466 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6467 STV_HIDDEN and STV_INTERNAL during lookup.
6468 (profile_fixup): Likewise.
6469 * elf/dl-reloc.c (RESOLVE): Likewise.
6471 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6472 unaligned so that it compiles for system which need unaligned
6475 2000-04-04 Andreas Schwab <schwab@suse.de>
6477 * elf/cache.c (print_entry): Only look at the type field when
6480 2000-04-04 Andreas Schwab <schwab@suse.de>
6482 * iconvdata/big5.c (BODY): Fix typo.
6484 2000-04-04 Andreas Schwab <schwab@suse.de>
6486 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6487 function interface. Remove unused _dl_start_user entry point.
6489 2000-04-03 Andreas Jaeger <aj@suse.de>
6491 * include/arpa/inet.h (__inet_aton): Add protoype.
6493 2000-04-01 Andreas Jaeger <aj@suse.de>
6495 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6497 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6498 * sysdeps/mach/mips/thread_state.h: Likewise.
6500 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6501 * sysdeps/generic/fegetenv.c: Likewise.
6502 * sysdeps/generic/fesetenv.c: Likewise.
6503 * sysdeps/generic/feupdateenv.c: Likewise.
6504 * sysdeps/generic/fraiseexcpt.c: Likewise.
6505 * sysdeps/generic/fsetexcptflg.c: Likewise.
6506 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6507 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6508 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6509 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6511 2000-04-02 H.J. Lu <hjl@gnu.org>
6513 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6515 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6517 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6518 (add_name_to_object): Add cast in malloc call.
6519 (fillin_rpath): Optimize loop to initialize ->status a bit.
6521 * sysdeps/i386/dl-machine.h: Undo last change.
6522 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6523 Restore %edx register after call here.
6525 * sysdeps/arm/atomicity.h: New file.
6526 Contributed by Jesper Skov <jskov@redhat.com>.
6528 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6530 * Makeconfig (preprocess-versions): Undo last change.
6531 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6533 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6534 here, before we might move the stack.
6535 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6536 (init1): And not here.
6538 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6539 change, to restore argc value in call-clobbered register after
6540 RTLD_START_SPECIAL_INIT, which will contain a call.
6542 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6543 allocating and initializing L->l_initfini.
6545 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6547 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6549 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6550 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6551 (open_path): Change type of fourth parameter. Make pointer to array
6552 of pointers. Create variable dirs with original type.
6553 Track whether any directory for the object exists and if not,
6554 change *DIRSP to (void*) -1 to signal there is no such search path.
6555 (_dl_map_object): Change all calls of open_path.
6556 Rewrite decompose_rpath calls.
6558 2000-03-31 Andreas Schwab <schwab@suse.de>
6560 * string/strfry.c: Declare STATE as array of char instead of int
6561 and do not initialize it (done by initstate_r). Pass correct
6564 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6566 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6568 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6569 instruction out of the code.
6571 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6573 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6574 element at this position.
6576 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6577 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6579 * elf/dl-lookup.c (add_dependency): New function.
6580 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6581 dynamically loaded object.
6582 (_dl_lookup_symbol_skip): Likewise.
6583 (_dl_lookup_versioned_symbol): Likewise.
6584 (_dl_lookup_versioned_symbol_skip): Likewise.
6585 * elf/dl-open.c: Don't define _dl_load_lock here...
6586 * elf/rtld.c: ...but here...
6587 * elf/dl-support.c: ...and here.
6588 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6590 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6592 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6594 * dlfcn/glrefmain.c: Add one more debug message.
6596 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6598 * Makerules (sysd-versions): Use ( ) instead of { }.
6600 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6601 optimize for the non-debugging case.
6602 * elf/dl-lookup.c: Likewise.
6603 * sysdeps/generic/libc-start.c: Likewise.
6605 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6607 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6608 (init1): Don't initialize __environ here, since init already does it.
6609 (first_init): New function, broken out of _init.
6610 (_hurd_stack_setup): Use it.
6611 [SHARED] (_dl_init_first): New function, renamed from old _init.
6612 (init1) [SHARED]: Don't call posixland_init here.
6613 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6614 [SHARED] (_init): Define as alias for posixland_init.
6615 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6616 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6617 RTLD_START_SPECIAL_INIT before calling initializers.
6618 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6619 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6620 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6621 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6623 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6624 since we define the function with the name `tmpfile'.
6626 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6627 * hurd/Versions: Likewise.
6629 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6631 * elf/dl-runtime.c (fixup): Fix typo in comment.
6633 * resolv/netdb.h (getnameinfo): All length parameters are of type
6635 * inet/getnameinfo.c: Likewise.
6637 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6639 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6640 (gethostname): Change type of second parameter to socklen_t.
6641 * include/unistd.h (__gethostname): Change type of second
6642 parameter to socklen_t.
6643 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6644 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6645 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6646 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6648 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6649 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6650 Allow definition elsewhere.
6651 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6652 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6653 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6654 * sysdeps/generic/bits/types.h: Define __socklen_t.
6655 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6656 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6657 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6658 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6659 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6660 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6661 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6663 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6664 (inet_lnaof): Likewise.
6665 (inet_netof): Likewise.
6666 (inet_network): Likewise.
6667 (inet_aton): Likewise.
6668 (inet_makeaddr): Change parameter types to in_addr_t.
6669 (inet_neta): Likewise.
6670 (inet_ntop): Change type of last parameter to socklen_t.
6671 (inet_aton): Only make available if __USE_MISC.
6672 (inet_neta): Likewise.
6673 (inet_net_ntop): Likewise.
6674 (inet_net_pton): Likewise.
6675 (inet_nsap_ntoa): Likewise.
6677 * inet/in.h: Define in_port_t type.
6678 Define in_addr_t type.
6679 (struct in_addr): Use in_addr_t in definition.
6680 (IN_CLASSA): Use cast to in_addr_t.
6681 (IN_CLASSB): Likewise.
6682 (IN_CLASSC): Likewise.
6683 (IN_CLASSD): Likewise.
6684 (IN_EXPERIMENTAL): Likewise.
6685 (IN_BADCLASS): Likewise.
6686 (INADDR_ANY): Likewise.
6687 (INADDR_BROADCAST): Likewise.
6688 (INADDR_NONE): Likewise.
6689 (INADDR_LOOPBACK): Likewise.
6690 (INADDR_UNSPEC_GROUP): Likewise.
6691 (INADDR_ALLHOSTS_GROUP): Likewise.
6692 (INADDR_ALLRTRS_GROUP): Likewise.
6693 (INADDR_MAX_LOCAL_GROUP): Likewise.
6694 (struct sockaddr_in): Use in_port_t for sin_port element.
6695 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6696 Use uint8_t instead of u_int8_t.
6698 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6699 Call __inet_aton instead of inet_aton.
6700 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6702 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6703 (innetgr): Likewise.
6704 (struct addrinfo): Use socklen_t for ai_addrlen element.
6706 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6707 IPV6_RECVERR): New defines.
6709 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6710 * inet/getnetbyad.c: Likewise.
6711 * inet/getnetbyad_r.c: Likewise.
6712 * nis/nss_nis/nis-network.c: Likewise.
6713 * nis/nssplus_nis/nisplus-network.c: Likewise.
6714 * nss/nss_files/files-network.c: Likewise.
6715 * resolv/netdb.h: Define uint32_t if not already happened.
6716 Include bits/netdb.h. Remove definition of struct netent.
6717 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6718 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6719 * sysdeps/generic/bits/netdb.h: New file.
6720 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6722 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6723 (tests): Add glrefmain.
6724 Add rules to build modules and run tests. Ignore result of glrefmain
6725 for now since it fails.
6726 * dlfcn/glrefmain.c: New file.
6727 * dlfcn/glreflib1.c: New file.
6728 * dlfcn/glreflib2.c: New file.
6730 * test-skeleton.c: Include <string.h> for strsignal prototype.
6732 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6735 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6736 former init-first.h. Initialize __libc_multiple_libcs.
6738 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6740 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6741 #if expression for use of unaligned function to the one used in
6742 the definition of these functions.
6743 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6744 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6745 (internal_ucs4le_loop_unaligned): New function.
6747 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6749 (module-names): Add dep1, dep2, dep3, and dep4.
6750 Add dependencies for dep* modules and order.
6751 Define rule for order.out which checks the result.
6752 * elf/dep1.c: New file.
6753 * elf/dep2.c: New file.
6754 * elf/dep3.c: New file.
6755 * elf/dep4.c: New file.
6756 * elf/order.c: New file.
6758 * elf/dl-init.c: Fix typo in comment.
6760 2000-03-31 Andreas Jaeger <aj@suse.de>
6762 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6763 init function interface.
6764 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6766 2000-03-31 Andreas Jaeger <aj@suse.de>
6768 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6769 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6770 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6771 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6772 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6774 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6775 anymore, update comment.
6777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6779 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6780 SHLIB_COMPAT - the struct is always needed.
6782 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6784 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6785 * elf/dl-support.c: Define _dl_starting_up.
6787 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6789 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6790 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6792 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6794 * elf/Makefile (dl-routines): Remove preinit.
6795 * elf/Versions: Remove _dl_preinit.
6796 * elf/dl-preinit.c: Removed. Move content into...
6797 * elf/dl-init.c: ...here.
6798 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6800 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6803 2000-03-29 Geoff Clare <gwc@unisoft.com>
6805 * stdlib/strfmon.c: Corrected problems with the code that
6806 sets default values for [np]_sep_by_space and
6807 [np]_sign_posn; also the new positive/negative alignment
6808 code from the previous patch was not quite right for
6811 * localedata/tst-fmon.data: Changes corresponding to the
6812 two sets of fixes made to stdlib/strfmon.c.
6814 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6816 * malloc/malloc.c: Declare bit flags UL so that they will not
6817 default to int size when being inverted.
6819 2000-03-29 Andreas Jaeger <aj@suse.de>
6821 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6822 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6824 2000-03-29 Andreas Jaeger <aj@suse.de>,
6825 Ralf Baechle <ralf@uni-koblenz.de>
6827 * Makeconfig: Introduce new variable SHARED to mark code used in
6829 * elf/dl-close.c: Use it instead of PIC.
6830 * elf/dl-load.c: Likewise.
6831 * elf/dl-open.c: Likewise.
6832 * hurd/geteuids.c: Likewise.
6833 * include/libc-symbols.h: Likewise.
6834 * include/shlib-compat.h: Likewise.
6835 * libio/freopen.c: Likewise.
6836 * linuxthreads/cancel.c: Likewise.
6837 * linuxthreads/pthread.c: Likewise.
6838 * linuxthreads/wrapsyscall.c: Likewise.
6839 * nss/nsswitch.c: Likewise.
6840 * stdio-common/vfprintf.c: Likewise.
6841 * sysdeps/arm/init-first.c: Likewise.
6842 * sysdeps/i386/init-first.c: Likewise
6843 * sysdeps/generic/init-first.c: Likewise.
6844 * sysdeps/generic/libc-start.c: Likewise.
6845 * sysdeps/mips/init-first.c: Likewise.
6846 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6847 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6848 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6849 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6850 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6852 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6854 2000-03-29 Andreas Jaeger <aj@suse.de>
6856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6857 Use D_PTR to access relocated entries in l_info.
6858 (elf_machine_rela): Likewise.
6860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6862 (elf_machine_rela): Likewise.
6864 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6866 (__elf_machine_fixup_plt): Likewise.
6867 (__process_machine_rela): Likewise.
6869 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6870 (elf_machine_rela): Likewise.
6872 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6873 (elf_machine_rel): Likewise.
6875 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6876 (elf_machine_fixup_plt): Likewise.
6877 (elf_machine_rela): Likewise.
6879 2000-03-29 Andreas Jaeger <aj@suse.de>
6881 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6882 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6883 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6885 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6886 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6887 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6888 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6889 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6890 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6891 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6892 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6893 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6894 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6895 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6897 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6898 macros, remove K&R prototypes.
6900 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6902 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6903 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6906 2000-03-30 Andreas Jaeger <aj@suse.de>
6908 * misc/sys/cdefs.h: Remove K&R support.
6910 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6912 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6914 * iconv/loop.c: Likewise.
6916 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6918 * iconv/loop.c (put16): Remove __const. Fix access index.
6919 (put32): Remove __const. Use uint32_t instead of uint16_t.
6920 * iconv/skeleton.c: Likewise.
6922 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6924 * mach/Versions (libc: GLIBC_2.0)
6925 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6926 __vm_allocate on this.
6927 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6928 mutex- and spinlock-related symbols on this.
6929 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6930 New version set. Lock-related symbols go here instead in this case.
6931 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6932 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6933 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6935 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6936 Put them here instead.
6937 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6938 New version set. Those cthreads symbols go here instead in this case.
6939 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6941 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6943 * elf/dl-init.c (_dl_init): We don't need to call constructors
6944 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6946 Implement dynamic determination of constructor/destructor order in
6948 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6949 (GLIBC_2.2): Add _dl_init.
6950 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6951 r_duplist is not anymore allocated separately. l_initfini is and
6952 therefore free it if necessary.
6953 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6954 malloc block. Otherwise allocate l_initfini list only.
6955 Put dependencies for the object in l_initfini list.
6956 Sort dependencies for the object to be loaded topologically.
6957 * elf/dl-fini.c: Before running the destructors sort the topologically.
6958 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6959 call constructors instead of iterating over the pointers. Get list of
6960 objects for which to run constructors from l_initfini element. Accept
6961 argc, argv, and env as parameters and pass them to the constructors.
6962 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6963 with size of dynamic section.
6964 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6965 _dl_init_next and calling constructors ourself.
6966 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6967 Take argc, argv, and env as parameters and pass them to the
6968 constructors. Rewrite to call all constructors and not iterate over
6970 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6971 precompute l_initcount and l_preinitcount.
6972 * elf/link.h (struct link_map): Add l_ldnum member.
6973 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6974 l_initcount, and l_preinitcount. Add l_initfini.
6975 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6977 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6979 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6980 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6981 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6982 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6983 conventions now match.
6985 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6986 effect for shared objects. Don't emit message and call only for
6989 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6991 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6992 CSA_Z243.4-1985-1..UCS2.
6993 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6996 2000-03-29 Andreas Jaeger <aj@suse.de>
6998 * include/unistd.h: Remove duplicate entry for __rmdir.
6999 Remove declaration of __mkdir since __mkdir is declared in
7002 * manual/creature.texi (Feature Test Macros): Fix typo, reported
7003 by Michael Deutschmann <michael@talamasca.ocis.net>.
7005 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7006 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7007 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7008 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7009 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7011 2000-03-28 Andreas Jaeger <aj@suse.de>
7013 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7014 declaration, the prototype is defined via bits/mathcalls.h.
7015 (__sincosf): Likewise.
7016 (__sincosl): Likewise.
7020 (__finite): Likewise.
7021 (__inline_mathcodeNP): New macro without prototype
7023 (__inline_mathcodeNP2): Likewise.
7024 (__inline_mathcodeNP3): Likewise.
7025 (__inline_mathcodeNP_): Likewise.
7026 (__inline_mathcodeNP2_): Likewise.
7027 (__inline_mathcodeNP3_): Likewise.
7028 (__inline_mathopNP): Likewise.
7029 (__inline_mathop_declNP): Likewise.
7030 (__inline_mathop_declNP_): Likewise.
7031 (__inline_mathcode_): Use __inline_mathcodeNP_.
7032 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7033 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7034 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7035 (__expm1l): Don't define prototype, the prototype is defined via
7041 (__atan2l): Likewise.
7046 (__fabsl): Likewise.
7064 (__sqrtl): Likewise.
7074 2000-03-28 Ulrich Drepper <drepper@redhat.com>
7076 * Makerules: If make variable md5 is defined to yes after
7077 generating dependencies generate MD5 sum for the object.
7079 * iconv/gconv_builtin.h: Fix length in transformation definition
7082 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7084 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7085 allow as well reading from/writing to unaligned addresses on machines
7086 which don't support this in hardware. Use FCTNAME macro to define
7087 function name. Include the file a second time for platforms which
7088 need special unaligned handling.
7089 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7090 to access potentially unaligned addresses. These macros are intended
7091 to be used only outside the loops.
7092 (unaligned): New definition. In case the machine can handle unaligned
7093 access define as zero. Otherwise as a variable which is initialized
7094 as nonzero in case the buffer passed in at runtime is unaligned with
7095 respect to the character set encoding involved.
7096 Call aligned or unaligned looop functions according to unaligned
7098 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7099 of direct casting pointer to potentially handle unaligned memory
7101 * iconvdata/8bit-generic.c: Likewise.
7102 * iconvdata/ansi_x3.110.c: Likewise.
7103 * iconvdata/big5.c: Likewise.
7104 * iconvdata/euc-cn.c: Likewise.
7105 * iconvdata/euc-jp.c: Likewise.
7106 * iconvdata/euc-kr.c: Likewise.
7107 * iconvdata/euc-tw.c: Likewise.
7108 * iconvdata/gbk.c: Likewise.
7109 * iconvdata/iso-2022-cn.c: Likewise.
7110 * iconvdata/iso-2022-jp.c: Likewise.
7111 * iconvdata/iso-2022-kr.c: Likewise.
7112 * iconvdata/iso646.c: Likewise.
7113 * iconvdata/iso_6937-2.c: Likewise.
7114 * iconvdata/iso_6937.c: Likewise.
7115 * iconvdata/johab.c: Likewise.
7116 * iconvdata/sjis.c: Likewise.
7117 * iconvdata/t.61.c: Likewise.
7118 * iconvdata/uhc.c: Likewise.
7119 * iconvdata/unicode.c: Likewise.
7120 * iconvdata/utf-16.c: Likewise.
7122 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
7125 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
7126 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
7128 * malloc/mcheck.h (mcheck_check_all): Declare.
7130 * stdio-common/Makefile (tests): Add tst-obprintf.
7132 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
7134 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
7135 Declare pthread_sigmask.
7137 * csu/version.c: Add 2000 to copyright years.
7138 Remove Emacs local variables section.
7140 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7142 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
7143 __gconv_transform_internal_ucs2little): Remove declarations.
7144 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
7145 __gconv_transform_internal_ucs2): Never need to bswap_16.
7146 (__gconv_transform_ucs2reverse_internal,
7147 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
7149 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7151 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
7152 obsoleting version not being defined at all, in which case the
7153 result is always true.
7155 * Makeconfig (preprocess-versions): New canned sequence for running
7156 cpp on shlib-versions and the like.
7157 (soversions.i): Use it.
7158 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
7159 Versions.def and Versions files.
7161 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7163 * stdio-common/tst-obprintf.c (main): Add another check to see
7164 obstack_printf handling all possible beginnings of the block
7165 inside an obstack chunk.
7167 * locale/programs/localedef.c: Use __malloc_initialize_hook to
7168 install mcheck handler.
7170 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7173 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7175 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7177 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7178 on [HAVE_ELF && DO_VERSIONING].
7180 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7182 * stdio-common/tst-obprintf.c: New file.
7184 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7186 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
7187 _IO_OVERFLOW directly instead through __overflow.
7189 * locale/programs/localedef.c (construct_output_path): If path
7190 contains a / compute the end of the directory name correctly.
7192 * include/features.h: Undef and document __USE_XOPEN2K.
7194 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7195 whenever a function is called. Initiated by calling mcheck_pedantic
7197 * malloc/mcheck.h: Declare mcheck_pedantic.
7198 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7199 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7202 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7204 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7205 * dlfcn/dlopenold.c: Likewise.
7206 * nss/getXXbyYY_r.c: Likewise.
7207 * nss/getXXent_r.c: Likewise.
7208 * hurd/hurdinit.c: Likewise.
7209 * hurd/compat-20.c: Likewise.
7210 * libio/oldiofopen.c: Likewise.
7211 * libio/oldiofclose.c: Likewise.
7212 * libio/oldiofdopen.c: Likewise.
7213 * libio/oldfileops.c: Likewise.
7214 * libio/oldstdfiles.c: Likewise.
7215 * libio/oldiofsetpos.c: Likewise.
7216 * libio/oldiofgetpos.c: Likewise.
7217 * libio/oldiofgetpos64.c: Likewise.
7218 * libio/oldiofsetpos64.c: Likewise.
7219 * libio/oldiopopen.c: Likewise.
7220 * libio/oldpclose.c: Likewise.
7221 * libio/oldtmpfile.c: Likewise.
7222 * libio/freopen.c (freopen): Likewise.
7223 * libio/iofclose.c (_IO_new_fclose): Likewise.
7225 * sysdeps/mach/sys/reboot.h: Include <features.h>.
7226 (reboot): Declare it.
7228 * libio/Makefile (headers): Add bits/stdio-lock.h here.
7230 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7232 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7234 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7235 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7236 We need this for the sbrk decl, which can be included without Unix98.
7238 2000-03-20 Richard Henderson <rth@cygnus.com>
7240 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7241 argument to yperr2nss is an int, not size_t.
7242 * posix/regex.c (print_partial_compiled_pattern): Cast all
7243 ptrdiff_t to long for printing.
7244 (print_compiled_pattern): Use Z for printing size_t.
7245 * posix/testfnm.c (tests): Avoid trigraphs.
7246 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7247 Use a C comment, not an assembly comment.
7249 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7250 of __ASSUME_32BITUIDS.
7252 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7254 * libio/iofopncook.c: Remove K&R prototypes.
7256 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7258 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7259 an initial value of 1024 instead of RLIM_INFINITY.
7261 * Versions.def (libmachuser, libhurduser): Remove these sections,
7262 since these libraries do not presently use symbol versions.
7264 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7265 is RLIM_INFINITY, return -1 instead.
7267 2000-03-24 Andreas Jaeger <aj@suse.de>
7269 * Makefile (postclean): Added soversions.i.
7271 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7273 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7274 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7275 and _FPU_IEEE. Change _FPU_RESERVED.
7277 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7279 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7281 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7283 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7284 (gaih_inet): Remove unused duplicate variable.
7286 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7287 Don't use __libc_sa_len, which only exists for Linux. Just handle
7288 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7289 only flavors supported by this function anyway.
7291 2000-03-24 Geoff Clare <gwc@unisoft.com>
7293 * stdlib/strfmon.c: Corrected problems with missing signs and
7294 missing or extra spaces; allow for sign strings longer than
7295 one character; add padding to ensure positive and negative
7296 formats are aligned when a left precision is used.
7298 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7300 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7301 Patch by John Mizel <John.Mizel@msdw.com>.
7303 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7305 * manual/install.texi: Remove references to crypt add-on.
7307 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7309 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7310 section while taking the _hurd_rlimit_lock.
7311 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7313 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7315 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7318 * sysdeps/mach/hurd/if_index.c: New file.
7320 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7321 * sysdeps/gnu/net/if.h: here.
7322 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7323 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7324 * sysdeps/generic/net/if.h: New file. Declares just the standard
7325 functions and `struct if_nameindex' type.
7326 * socket/Makefile (headers): Add net/if.h here.
7327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7328 * sysdeps/mach/hurd/Dist: Remove it here.
7329 * sysdeps/unix/sysv/linux/Dist: And here.
7330 * sysdeps/generic/if_index.c: Include <net/if.h>.
7332 2000-03-24 Andreas Jaeger <aj@suse.de>
7334 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7335 access relocated entries in l_info.
7336 (elf_machine_got_rel): Likewise.
7337 (elf_machine_runtime_setup): Likewise.
7338 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7339 (elf_machine_runtime_setup): Likewise.
7340 (__dl_runtime_resolve): Likewise.
7342 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7344 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7345 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7346 according to RFC 2553.
7347 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7348 * inet/getnameinfo.c: Likewise.
7349 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7351 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7353 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7354 Remove no-op pointer increment.
7356 2000-03-23 Andreas Jaeger <aj@suse.de>
7358 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7359 follow change for libio.h from 2000-03-10.
7361 2000-03-23 Andreas Jaeger <aj@suse.de>
7363 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7365 * elf/dl-debug.c: Likewise.
7366 * elf/dl-deps.c: Likewise.
7367 * elf/dl-error.c: Likewise.
7368 * elf/dl-fini.c: Likewise.
7369 * elf/dl-init.c: Likewise.
7370 * elf/dl-load.c: Likewise.
7371 * elf/dl-lookup.c: Likewise.
7372 * elf/dl-minimal.c: Likewise.
7373 * elf/dl-object.c: Likewise.
7374 * elf/dl-open.c: Likewise.
7375 * elf/dl-preinit.c: Likewise.
7376 * elf/dl-profile.c: Likewise.
7377 * elf/dl-profstub.c: Likewise.
7378 * elf/dl-reloc.c: Likewise.
7379 * elf/dl-runtime.c: Likewise.
7380 * elf/dl-support.c: Likewise.
7381 * elf/dl-symbol.c: Likewise.
7382 * elf/dl-version.c: Likewise.
7383 * elf/rtld.c: Likewise.
7384 * elf/sprof.c: Likewise.
7385 * sysdeps/generic/dl-cache.c: Likewise.
7386 * sysdeps/generic/dl-origin.c: Likewise.
7387 * sysdeps/generic/dl-sysdep.c: Likewise.
7388 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7389 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7390 * sysdeps/generic/libc-start.c: Likewise.
7391 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7392 * sysdeps/powerpc/dl-machine.c: Likewise.
7393 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7394 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7395 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7396 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7398 * elf/ldsodefs.h: Move file to ...
7399 * sysdeps/generic/ldsodefs.h: ... here.
7401 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7403 * sysdeps/mips/elf/ldsodefs.h: New file.
7405 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7407 (_dl_check_map_versions): Likewise.
7408 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7409 * elf/dl-load.c (_dl_init_paths): Likewise.
7410 (_dl_map_object): Likewise.
7411 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7412 (elf_get_dynamic_info): Likewise.
7413 * elf/do-lookup.h (FCT): Likewise.
7414 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7415 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7416 * elf/dl-addr.c (_dl_addr): Likewise.
7417 * elf/dl-runtime.c (profile_fixup): Likewise.
7419 * elf/dl-init.c (_dl_init_next): Likewise.
7420 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7421 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7422 (DISTINGUISH_LIB_VERSIONS): Likewise.
7423 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7424 (elf_machine_rel): Likewise.
7426 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7427 for writable dynamic section.
7429 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7431 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7432 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7434 2000-03-22 Andreas Jaeger <aj@suse.de>
7436 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7437 from latest Linux kernel.
7439 2000-03-21 Andreas Jaeger <aj@suse.de>
7441 * Versions.def: Add version 2.1.4.
7443 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7445 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7446 * libio/oldiofopen.c: Likewise.
7447 * libio/oldiofclose.c: Likewise.
7448 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7450 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7452 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7453 indicating the first version set to obsolete the conditionalized code.
7454 (compat_symbol): New macro.
7455 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7456 rhs be the ABI_* macro for the subsuming version. Assign increasing
7457 integer values to the ABI_* macros for supported versions.
7458 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7459 compat_symbol macro.
7461 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7463 * nscd/connections.c (nscd_run): Pretty print.
7464 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7466 * manual/charset.texi: Fix typos. Rephrase.
7467 * manual/process.texi: Likewise.
7468 * manual/signal.texi: Likewise.
7469 Patches by Mike Coleman <mkc@kc.net>.
7471 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7473 * libio/iofdopen.c: Likewise.
7474 * libio/iofgetpos.c: Likewise.
7475 * libio/iofgetpos64.c: Likewise.
7476 * libio/iofopen.c: Likewise.
7477 * libio/iofsetpos.c: Likewise.
7478 * libio/iofsetpos64.c: Likewise.
7479 * libio/iopopen.c: Likewise.
7480 * libio/oldiofopen.c: Likewise.
7481 * libio/pclose.c: Likewise.
7482 * sysdeps/gnu/siglist.c: Likewise.
7483 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7485 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7486 chance to expand VERSION_##lib##_##version.
7488 * libio/fileops.c: Use new macros from shlib-compat.h to define
7490 * libio/iofclose.c: Likewise.
7491 * libio/oldiofclose.c: Likewise.
7492 Patch by Roland McGrath <roland@frob.com>.
7494 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7496 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7497 Lay out struct sigcontext according to what really gets passed on
7499 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7500 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7501 (prgregset_t, prfpregset_t): Define to elf_* types.
7502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7503 Define to correct value.
7504 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7506 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7508 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7510 * scripts/firstversions.awk: Allow multiple version sets in the
7511 "earliest version" specification, meaning that version sets in the
7512 gaps between listed versions should be folded into the earliest later
7513 version that is explicitly listed.
7514 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7515 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7517 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7519 * iconv/gconv_builtin.c: Include <endian.h>.
7520 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7521 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7522 according to current platform.
7523 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7524 __gconv_transform_internal_ucs2reverse, and
7525 __gconv_transform_internal_ucs4le.
7526 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7527 __gconv_transform_ucs2reverse_internal and
7528 __gconv_transform_internal_ucs2reverse.
7529 * iconvdata/Makefile (modules): Add UNICODE.
7530 (distribute): Add unicode.c.
7531 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7532 * iconvdata/unicode.c: New file.
7534 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7535 determine byte order of input and convert accordingly.
7537 * iconvdata/utf-16.c (gconv_init): Fix typo.
7539 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7541 * iconvdata/gconv-modules: Fix typo.
7543 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7546 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7548 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7550 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7552 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7554 * misc/Makefile (routines): Add mincore.
7556 2000-03-20 Andreas Jaeger <aj@suse.de>
7558 * sysdeps/generic/mincore.c: New stub file.
7560 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7561 from latest Linux kernel.
7563 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7565 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7566 _SC_GETPW_R_SIZE_MAX.
7568 2000-03-20 Richard Henderson <rth@cygnus.com>
7570 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7573 2000-03-20 Richard Henderson <rth@cygnus.com>
7575 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7576 of arithmetic instructions.
7578 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7579 with the fpcr. Protect from INV exception.
7580 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7581 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7582 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7584 * sysdeps/alpha/fpu/s_copysign.c: New.
7585 * sysdeps/alpha/fpu/s_copysignf.c: New.
7586 * sysdeps/alpha/fpu/s_fabs.c: New.
7587 * sysdeps/alpha/fpu/s_fabsf.c: New.
7588 * sysdeps/alpha/fpu/s_rint.c: New.
7589 * sysdeps/alpha/fpu/s_rintf.c: New.
7591 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7593 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7595 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7596 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7597 Use physical addresses not KSEG addresses.
7598 (io_system): Add PYXIS.
7599 (io): Remove hae.reg, sys, hae_shift.
7600 (stb_mb, stw_mb, stl_mb, __sethae): New.
7601 (inline_outb, inline_outw, inline_outl): Don't set hae.
7602 (inline_inb, inline_inw, inline_inl): Likewise.
7603 (dense_sethae): New null function.
7604 (struct cpuinfo_data): New.
7605 (process_cpuinfo): Use local and stack variables, not static.
7606 Move readlink check here from init_iosys.
7607 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7609 (_hae_shift): Calculate it here.
7610 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7611 add pciconfig_iobase.
7613 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7615 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7616 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7618 * scripts/versions.awk: Fixed version renaming code to distinguish
7621 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7623 * include/stdlib.h: Add prototype for __cxa_atexit.
7625 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7626 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7628 2000-03-17 Cristian Gafton <gafton@redhat.com>
7630 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7631 existing rtld-installed-name.
7632 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7633 replace existing rtld-installed-name using $(symbolic-link-prog).
7635 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7637 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7638 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7639 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7642 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7644 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7645 glob64. Since there is no glob64 in the LFS proposal applications
7646 can assume that glob handles LFS situations. glob64 is only needed
7647 if alternative filesystem functions are used.
7649 2000-03-19 Geoff Clare <gwc@unisoft.com>
7651 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7652 when GLOB_DOOFFS is set; correct handling of patterns
7653 containing escaped wildcards (and no unescaped ones);
7654 GLOB_ERR flag was being ignored in some situations.
7656 * posix/globtest.c, posix/globtest.sh: Updated to include
7657 tests for the problems fixed by the above changes to glob.c.
7659 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7661 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7663 * Makeconfig (soversion.i): Use only first match for each lib.
7665 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7667 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7668 rather than $(sysd-dirs-done) to protect these rules.
7670 * Makerules (version-renames.def): Target removed.
7671 (Versions.all): Depend on soversions.i directly and parse it.
7673 * Makeconfig (soversions.i): New target, input-reading parts of
7674 soversions.mk generation moved here; result is a canonicalized
7675 list "LIB VERSION [SET]" for this configuration.
7676 (soversions.mk): Use that as input. Don't emit map-firstversions.
7677 * Makerules (version-renames.def): New target, generated from
7678 soversions.i with contents that was in $(map-firstversions).
7679 (Versions.all): Don't depend on soversions.mk, depend on
7680 version-renames.def instead; just cat it into the input.
7682 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7683 for $(map-firstversions), which better handles it being empty.
7685 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7686 supported version for libc 0.2.90.libio to GLIBC_2.2.
7688 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7689 and use it to emit new variable `map-firstversions'.
7690 * scripts/firstversions.awk: New file.
7691 * Makerules (Versions.all): Use scripts/firstversions.awk and
7692 the $(map-firstversions) value to generate a modified versions list
7693 that includes renames in "A = B" syntax for each version set earlier
7694 than the "earliest symbol version" named in shlib-versions.
7695 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7696 rename version set A to B in the output to the intermediate file.
7697 * scripts/abi-versions.awk: New file.
7698 * Makerules (abi-versions.h): New target, generated by that script.
7699 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7700 * include/shlib-compat.h: New file, uses that generated header.
7702 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7704 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7705 after stripping # comments, and then run it through cpp.
7706 This allows things like "%ifdef FOO" based on config.h settings.
7707 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7709 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7710 and other errors that indicate a pseudo-receive happened, grok through
7711 the message buffer for port rights that need references fixed up.
7713 2000-03-16 Andreas Jaeger <aj@suse.de>
7715 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7717 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7720 from latest Linux kernel.
7721 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7723 * misc/sys/mman.h: Add prototype for mincore.
7725 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7728 entry for GLIBC_2.0 version of setrlimit.
7729 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7731 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7733 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7734 * nis/nss_compat/compat-initgroups.c: Likewise.
7735 * nis/nss_nis/nis-initgroups.c: Likewise.
7736 * nis/nss_nis/nis-netgrp.c: Likewise.
7737 * nis/nss_nis/nis-proto.c: Likewise.
7738 * nis/nss_nis/nis-rpc.c: Likewise.
7739 * nis/nss_nis/nis-service.c: Likewise.
7740 * nis/ypclnt.c: Likewise.
7742 2000-03-16 Andreas Jaeger <aj@suse.de>
7744 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7745 doesn't exist, correct checks. Fixes PR libc/1649.
7747 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7749 * nscd/hstcache.c: Restore correct UID.
7750 * nscd/pwdcache.c: Likewise.
7751 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7753 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7755 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7756 macros for register names, in line with 2000-03-14 linux change.
7758 * sysdeps/mach/sched_yield.c: New file.
7760 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7762 * sysdeps/generic/lockfile.c: Include <stdio.h>
7763 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7764 case <libio.h> defined them.
7765 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7767 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7768 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7770 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7771 for more pleasing parse error.
7773 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7775 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7777 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7779 * elf/Makefile: Add rules to compile and run constload1 test.
7780 * elf/constload1.c: New file.
7781 * elf/constload2.c: New file.
7782 * elf/constload3.c: New file.
7784 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7786 * sysdeps/posix/open64.c: Make __open64 weak alias.
7787 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7788 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7789 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7790 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7792 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7793 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7794 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7795 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7798 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7800 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7801 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7803 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7805 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7806 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7808 2000-03-08 Andreas Jaeger <aj@suse.de>
7810 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7812 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7814 * timezone/africa: Update from tzdata2000d.
7815 * timezone/asia: Likewise.
7816 * timezone/australasia: Likewise.
7817 * timezone/europe: Likewise.
7818 * timezone/northamerica: Likewise.
7819 * timezone/southamerica: Likewise.
7821 * po/fr.po: Update from translation team.
7822 * po/de.po: Likewise.
7824 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7825 last parameter. Move code to add map to global scope from here...
7826 * elf/dl-open.c (dl_open_worker): ...here.
7827 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7828 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7830 * locale/programs/ld-collate.c (collate_read): Fix warning.
7832 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7833 values and macros for register names.
7835 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7836 returned by seek cookie function is -1.
7838 2000-03-14 Andreas Jaeger <aj@suse.de>
7840 * locale/localeconv.c (localeconv): Fix typo.
7841 Reported by Andre Charbonneau <andrec@corel.com>.
7843 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7845 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7846 since modules depend on it counting the number of times the conversion
7847 function got called.
7849 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7851 * iconv/gconv.h: Pretty print.
7853 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7855 * posix/wordexp-test.c: Correct one of the tests added in the last
7856 change. Really get the root passwd entry to check again ~root.
7858 2000-03-10 Andreas Jaeger <aj@suse.de>
7860 * manual/filesys.texi (Working Directory): Fix last patch.
7861 Patch by Martin Buchholz <martin@xemacs.org>.
7863 2000-03-10 Andreas Jaeger <aj@suse.de>
7865 * manual/creature.texi (Feature Test Macros): Fix language.
7867 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7869 * mach/devstream.c (devstream_write, devstream_read): New functions.
7870 (input, output): Functions removed.
7871 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7872 using only the vanilla fopencookie interface.
7874 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7875 as macro for __io_functions.
7876 (funcsio): Use cookie_io_functions_t type name.
7877 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7879 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7881 (fopencookie): Use it.
7882 * libio/libio.h: Declare _IO_cookie_init.
7883 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7886 * libio/libio.h (__io_seek_fn): Fix second argument type
7887 to be a pointer, in line with the manual and the old stdio.
7888 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7890 * sysdeps/generic/bits/stdio-lock.h: New file.
7891 This is a stub with #error, but that's better than no file at all.
7893 2000-03-09 Martin Buchholz <martin@xemacs.org>
7895 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7896 * manual/message.texi (Using gettextized software): Doc Fixes.
7897 * manual/message.texi (Message Translation): Doc Fixes.
7898 * manual/filesys.texi (File Size): Doc Fixes.
7899 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7900 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7901 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7902 * manual/install.texi: Doc Fixes.
7903 * manual/search.texi (Hash Search Function): Doc Fixes.
7904 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7905 * FAQ.in: Doc Fixes.
7906 * config.h.in: Doc Fixes.
7907 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7908 Doc Fixes. `allows to' is not correct English.
7910 * elf/rtld.c: Doc fixes.
7911 * manual/creature.texi (Feature Test Macros): Doc fixes.
7912 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7914 * manual/filesys.texi (Working Directory): Check for ERANGE to
7917 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7919 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7920 conditions so as not to clobber the final '\0' when there is only one
7921 element in the vector.
7923 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7925 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7926 broken by 2000-02-27 change.
7928 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7930 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7932 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7933 argument type, for 2000-02-22 change in signal/signal.h declaration.
7935 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7937 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7938 to getdirentries64 (no __), since the Linux implementation
7939 has no __ name, and there is no declaration for the __ name.
7941 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7943 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7944 sed regexp so as not to break directory names including /../ within.
7946 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7947 The sysdeps/generic file is right for BSD. This file was in fact the
7948 Hurd file, but the only difference was the WNOREAP flag that was never
7949 actually implemented or used anywhere.
7951 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7952 since AC_PATH_PROG already does it for us.
7953 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7954 correctness and sh portability. I replaced the broken check
7955 with a more sensible implementation of the apparently intended
7956 semantics, which might still be questionable. Using expr causes
7957 a non-numeric value for `perl -V:apiversion` to be accepted,
7958 refusing to use only a perl that reports a number less than 5;
7959 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7960 * configure: Regenerated.
7962 2000-03-08 Andreas Jaeger <aj@suse.de>
7964 * manual/crypt.texi: Fix paths.
7966 2000-03-07 Andreas Jaeger <aj@suse.de>
7968 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7970 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7973 2000-03-06 Andreas Jaeger <aj@suse.de>
7975 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7976 in __sgn1l, otherwise g++ fails to parse this.
7977 Reported by Sean Chen <sean.chen@turbolinux.com>.
7979 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7981 * configure.in: Compute sizeof-long-double.
7982 * configure: Regenerated.
7983 * config.make.in: Make sizeof-long-double available to sub-makes.
7985 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7987 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7990 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7992 * Makeconfig (rpath-dirs): Add crypt.
7993 (all-subdirs): Remove md5crypt.
7994 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7995 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7996 * sysdeps/generic/crypt-entry.c: Delete.
7997 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7998 * sysdeps/generic/crypt.h: Delete.
7999 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8000 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8001 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8002 * sysdeps/generic/des_impl.c: Delete.
8003 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8004 * crypt/sysdeps: Delete.
8005 * crypt/crypt_util.c: Don't use `patchlevel.h'.
8006 * md5-crypt/Versions: Move to crypt/.
8007 * md5-crypt/md5-crypt.c: Move to crypt/.
8008 * md5-crypt/md5.c: Move to crypt/.
8009 * md5-crypt/md5c-test.c: Move to crypt/.
8010 * md5-crypt/md5test.c: Move to crypt/.
8011 * md5-crypt: Delete.
8012 * crypt/Makefile: Adjust for new structure.
8014 2000-03-03 Paul Eggert <eggert@twinsun.com>
8016 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8017 define to 1 if not defined.
8019 2000-03-03 Andreas Jaeger <aj@suse.de>
8021 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8023 2000-03-03 Andreas Jaeger <aj@suse.de>
8025 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8027 (xdr_int64_t): Correctly handle lower half.
8028 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8030 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8032 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8035 2000-03-02 Andreas Jaeger <aj@suse.de>
8037 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8040 2000-03-02 Andreas Jaeger <aj@suse.de>
8042 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8044 2000-03-01 Andreas Jaeger <aj@suse.de>
8046 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8047 (tests): Added tst-getdate.
8049 * time/tst-getdate.c: New file.
8051 * time/datemsk: New file, needed for tst-getdate.
8053 2000-02-29 Cristian Gafton <gafton@redhat.com>
8055 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8057 2000-02-17 H.J. Lu <hjl@gnu.org>
8059 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8061 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8063 (svcudp_recv): Set up message with the new "xp_pad" field for
8065 (svcudp_reply): Support IP_PKTINFO if available.
8067 2000-03-01 Andreas Jaeger <aj@suse.de>
8069 * time/getdate.c (check_mday): Fix check for february.
8070 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8071 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8073 2000-03-02 Andreas Jaeger <aj@suse.de>
8075 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8076 g++ fails to parse this.
8077 Reported by Sean Chen <sean.chen@turbolinux.com>.
8079 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8081 * io/creat.c: Moved to...
8082 * sysdeps/generic/creat.c: ...here.
8083 * io/creat64.c: Moved to...
8084 * sysdeps/generic/creat64.c: ...here.
8085 * io/lockf.c: Moved to...
8086 * sysdeps/generic/lockf.c: ...here.
8088 * crypt/crypt.texi: Moved to...
8089 * manual/crypt.texi: ...here.
8090 * crypt/examples/genpass.c: Moved to...
8091 * manual/examples/genpass.c: ...here.
8092 * crypt/examples/mygenpass.c: Moved to...
8093 * manual/examples/mygenpass.c: ...here.
8094 * crypt/examples/testpass.c: Moved to...
8095 * manual/examples/testpass.c: ...here.
8097 * manual/Makefile (chapters): Add crypt.
8098 * manual/conf.texi: Add usual header for not-last chapter.
8099 * manual/crypt.texi: Add special header for last chapter.
8101 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8103 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
8104 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
8105 complain if there is no crypt add-on.
8106 * crypt/configure: Removed.
8108 * crypt/crypt.texi: Update documentation of US export restrictions
8109 to match the 14 Jan 2000 regulations.
8111 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8113 * crypt: New subdirectory, merged in from the crypt add-on.
8115 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8117 * include/unistd.h: Add __rmdir and __mkdir prototypes.
8120 See ChangeLog.10 for earlier changes.